diff options
author | Avi Kivity <avi@redhat.com> | 2012-02-08 16:39:06 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-02-29 13:44:41 +0200 |
commit | 80a1ea3748203b840d8bad488ada4d6f5bb66c9d (patch) | |
tree | b29184d33c61b7cba42f44c3f6e03ff8f9640b61 /memory.h | |
parent | 0e0d36b446bbe913edcf5a7af24590360845f824 (diff) | |
download | qemu-80a1ea3748203b840d8bad488ada4d6f5bb66c9d.zip qemu-80a1ea3748203b840d8bad488ada4d6f5bb66c9d.tar.gz qemu-80a1ea3748203b840d8bad488ada4d6f5bb66c9d.tar.bz2 |
memory: move ioeventfd ops to MemoryListener
This way the accelerator (kvm) can handle them directly.
Signed-off-by: Avi Kivity <avi@redhat.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'memory.h')
-rw-r--r-- | memory.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -185,6 +185,10 @@ struct MemoryListener { void (*log_sync)(MemoryListener *listener, MemoryRegionSection *section); void (*log_global_start)(MemoryListener *listener); void (*log_global_stop)(MemoryListener *listener); + void (*eventfd_add)(MemoryListener *listener, MemoryRegionSection *section, + bool match_data, uint64_t data, int fd); + void (*eventfd_del)(MemoryListener *listener, MemoryRegionSection *section, + bool match_data, uint64_t data, int fd); /* Lower = earlier (during add), later (during del) */ unsigned priority; QTAILQ_ENTRY(MemoryListener) link; |