resend for bug fix related to removal of irqfd
Support an inter-vm shared memory device that maps a shared-memory
object as a
PCI device in the guest. This patch also supports interrupts between
guest by
communicating over a unix domain socket. This patch applies to the
qemu-kvm
repository.
-device ivshmem,size=<size in format accepted by -m>[,shm=<shm name>]
Interrupts are supported between multiple VMs by using a shared memory
server
by using a chardev socket.
-device ivshmem,size=<size in format accepted by -m>[,shm=<shm name>]
[,chardev=<id>][,msi=on][,ioeventfd=on][,vectors=n][,role=peer|master]
-chardev socket,path=<path>,id=<id>
The shared memory server, sample programs and init scripts are in a
git repo here:
www.gitorious.org/nahanni
Signed-off-by: Cam Macdonell <address@hidden>
---
Makefile.target | 3 +
hw/ivshmem.c | 828 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
qemu-char.c | 6 +
qemu-char.h | 3 +
qemu-doc.texi | 43 +++
5 files changed, 883 insertions(+), 0 deletions(-)
create mode 100644 hw/ivshmem.c