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 devi


From: Cam Macdonell
Subject: Re: [Qemu-devel] [PATCH v8 5/5] RESEND: Inter-VM shared memory PCI device
Date: Wed, 11 Aug 2010 11:49:27 -0400

On Wed, Aug 11, 2010 at 4:35 AM, Stefan Weil <address@hidden> wrote:
> 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?

Could that be accomplished with excluding it on Windows on the makefiles?

Thanks,
Cam

>
> Regards
> Stefan
>
>



reply via email to

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