Am 27.07.2010 18:54, schrieb Cam Macdonell:
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 <cam@xxxxxxxxxxxxxx>
---
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
Hi,
hw/ivshmem.c breaks compilation on 32 bit hosts, for targets without kvm
support
and for win32 environments.
I sent patches to qemu-devel which fix the first two problems.
The win32 problems (missing mmap, maybe more) remain.
Could you please fix them?
Regards
Stefan
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html