diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-07-05 17:16:27 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-07-12 14:08:10 +0300 |
commit | 753d5e14c4cd9e545242971c5d149fe5da0a5ba1 (patch) | |
tree | 32d56f1ed4e7179b3135c09a232660a40dd0b3ab /exec.c | |
parent | b6a1f3a56921c80cd04d8130e713028c7c91edc1 (diff) | |
download | qemu-753d5e14c4cd9e545242971c5d149fe5da0a5ba1.zip qemu-753d5e14c4cd9e545242971c5d149fe5da0a5ba1.tar.gz qemu-753d5e14c4cd9e545242971c5d149fe5da0a5ba1.tar.bz2 |
memory: pass EventNotifier, not eventfd
Under Win32, EventNotifiers will not have event_notifier_get_fd, so we
cannot call it in common code such as hw/virtio-pci.c. Pass a pointer to
the notifier, and only retrieve the file descriptor in kvm-specific code.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'exec.c')
-rw-r--r-- | exec.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -3212,13 +3212,13 @@ static void core_log_global_stop(MemoryListener *listener) static void core_eventfd_add(MemoryListener *listener, MemoryRegionSection *section, - bool match_data, uint64_t data, int fd) + bool match_data, uint64_t data, EventNotifier *e) { } static void core_eventfd_del(MemoryListener *listener, MemoryRegionSection *section, - bool match_data, uint64_t data, int fd) + bool match_data, uint64_t data, EventNotifier *e) { } @@ -3278,13 +3278,13 @@ static void io_log_global_stop(MemoryListener *listener) static void io_eventfd_add(MemoryListener *listener, MemoryRegionSection *section, - bool match_data, uint64_t data, int fd) + bool match_data, uint64_t data, EventNotifier *e) { } static void io_eventfd_del(MemoryListener *listener, MemoryRegionSection *section, - bool match_data, uint64_t data, int fd) + bool match_data, uint64_t data, EventNotifier *e) { } |