All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Weil <weil@mail.berlios.de>
To: Cam Macdonell <cam@cs.ualberta.ca>
Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org,
	Anthony Liguori <aliguori@us.ibm.com>
Subject: Re: [Qemu-devel] [PATCH v8 5/5] RESEND: Inter-VM shared memory PCI device
Date: Wed, 11 Aug 2010 10:35:10 +0200	[thread overview]
Message-ID: <4C6260BE.6010004@mail.berlios.de> (raw)
In-Reply-To: <1280249653-13370-1-git-send-email-cam@cs.ualberta.ca>

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@cs.ualberta.ca>
> ---
> 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


WARNING: multiple messages have this Message-ID (diff)
From: Stefan Weil <weil@mail.berlios.de>
To: Cam Macdonell <cam@cs.ualberta.ca>
Cc: Anthony Liguori <aliguori@us.ibm.com>,
	qemu-devel@nongnu.org, kvm@vger.kernel.org
Subject: Re: [Qemu-devel] [PATCH v8 5/5] RESEND: Inter-VM shared memory PCI device
Date: Wed, 11 Aug 2010 10:35:10 +0200	[thread overview]
Message-ID: <4C6260BE.6010004@mail.berlios.de> (raw)
In-Reply-To: <1280249653-13370-1-git-send-email-cam@cs.ualberta.ca>

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@cs.ualberta.ca>
> ---
> 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	other threads:[~2010-08-11  8:35 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-27  0:10 [PATCH v8 0/5] Inter-VM Shared Memory Device Cam Macdonell
2010-07-27  0:10 ` [Qemu-devel] " Cam Macdonell
2010-07-27  0:10 ` [PATCH v8 1/5] Add qemu_ram_alloc_from_ptr function Cam Macdonell
2010-07-27  0:10   ` [Qemu-devel] " Cam Macdonell
2010-07-27  0:10   ` [PATCH v8 2/5] Device specification for shared memory PCI device Cam Macdonell
2010-07-27  0:10     ` [Qemu-devel] " Cam Macdonell
2010-07-27  0:10     ` [PATCH v8 3/5] Add function to assign ioeventfd to MMIO Cam Macdonell
2010-07-27  0:10       ` [Qemu-devel] " Cam Macdonell
2010-07-27  0:11       ` [PATCH v8 4/5] Support marking a device as non-migratable Cam Macdonell
2010-07-27  0:11         ` [Qemu-devel] " Cam Macdonell
2010-07-27  0:11         ` [PATCH v8 5/5] Inter-VM shared memory PCI device Cam Macdonell
2010-07-27  0:11           ` [Qemu-devel] " Cam Macdonell
2010-07-27 16:54           ` [PATCH v8 5/5] RESEND: " Cam Macdonell
2010-07-27 16:54             ` [Qemu-devel] " Cam Macdonell
2010-08-11  8:35             ` Stefan Weil [this message]
2010-08-11  8:35               ` Stefan Weil
2010-08-11 15:49               ` Cam Macdonell
2010-08-11 17:07                 ` Paolo Bonzini
2010-08-11 17:07                   ` Paolo Bonzini
2010-08-11 18:22                   ` Stefan Weil
2010-08-11 18:22                     ` Stefan Weil
2010-08-10 21:28   ` [Qemu-devel] [PATCH v8 1/5] Add qemu_ram_alloc_from_ptr function Anthony Liguori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C6260BE.6010004@mail.berlios.de \
    --to=weil@mail.berlios.de \
    --cc=aliguori@us.ibm.com \
    --cc=cam@cs.ualberta.ca \
    --cc=kvm@vger.kernel.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.