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 /xen-all.c | |
parent | 0e0d36b446bbe913edcf5a7af24590360845f824 (diff) |
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 'xen-all.c')
-rw-r--r-- | xen-all.c | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -487,6 +487,18 @@ static void xen_log_global_stop(MemoryListener *listener) { } +static void xen_eventfd_add(MemoryListener *listener, + MemoryRegionSection *section, + bool match_data, uint64_t data, int fd) +{ +} + +static void xen_eventfd_del(MemoryListener *listener, + MemoryRegionSection *section, + bool match_data, uint64_t data, int fd) +{ +} + static MemoryListener xen_memory_listener = { .region_add = xen_region_add, .region_del = xen_region_del, @@ -495,6 +507,8 @@ static MemoryListener xen_memory_listener = { .log_sync = xen_log_sync, .log_global_start = xen_log_global_start, .log_global_stop = xen_log_global_stop, + .eventfd_add = xen_eventfd_add, + .eventfd_del = xen_eventfd_del, .priority = 10, }; |