]> git.proxmox.com Git - qemu.git/commit
memory: pass EventNotifier, not eventfd
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 5 Jul 2012 15:16:27 +0000 (17:16 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 12 Jul 2012 11:08:10 +0000 (14:08 +0300)
commit753d5e14c4cd9e545242971c5d149fe5da0a5ba1
tree32d56f1ed4e7179b3135c09a232660a40dd0b3ab
parentb6a1f3a56921c80cd04d8130e713028c7c91edc1
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>
exec.c
hw/ivshmem.c
hw/vhost.c
hw/virtio-pci.c
hw/xen_pt.c
kvm-all.c
memory.c
memory.h
xen-all.c