summaryrefslogtreecommitdiff
path: root/hw/xen_pt.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-07-05 17:16:27 +0200
committerAvi Kivity <avi@redhat.com>2012-07-12 14:08:10 +0300
commit753d5e14c4cd9e545242971c5d149fe5da0a5ba1 (patch)
tree32d56f1ed4e7179b3135c09a232660a40dd0b3ab /hw/xen_pt.c
parentb6a1f3a56921c80cd04d8130e713028c7c91edc1 (diff)
downloadqemu-753d5e14c4cd9e545242971c5d149fe5da0a5ba1.tar.gz
qemu-753d5e14c4cd9e545242971c5d149fe5da0a5ba1.tar.bz2
qemu-753d5e14c4cd9e545242971c5d149fe5da0a5ba1.zip
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 'hw/xen_pt.c')
-rw-r--r--hw/xen_pt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xen_pt.c b/hw/xen_pt.c
index 3b6d1867ab..fdf68aa564 100644
--- a/hw/xen_pt.c
+++ b/hw/xen_pt.c
@@ -634,7 +634,7 @@ static void xen_pt_log_global_fns(MemoryListener *l)
}
static void xen_pt_eventfd_fns(MemoryListener *l, MemoryRegionSection *s,
- bool match_data, uint64_t data, int fd)
+ bool match_data, uint64_t data, EventNotifier *n)
{
}