qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v8 5/5] RESEND: Inter-VM shared memory PCI devic


From: Stefan Weil
Subject: Re: [Qemu-devel] [PATCH v8 5/5] RESEND: Inter-VM shared memory PCI device
Date: Wed, 11 Aug 2010 10:35:10 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100620 Iceowl/1.0b1 Icedove/3.0.5

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 <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


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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]