]> git.proxmox.com Git - qemu.git/commit
ivshmem: use EventNotifier and memory API
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 5 Jul 2012 15:16:25 +0000 (17:16 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 12 Jul 2012 11:08:10 +0000 (14:08 +0300)
commit563027cc0c94aa4846c18f9d665a4c90f8c42ba8
treeff4e45aa9d4ddaa86e6e32895d76c7dd4f21885a
parente80c262be7f821051a6d89b39fe21d951848dece
ivshmem: use EventNotifier and memory API

All of ivshmem's usage of eventfd now has a corresponding API in
EventNotifier.  Simplify the code by using it, and also use the
memory API consistently to set up and tear down the ioeventfds.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
hw/ivshmem.c