All of lore.kernel.org
 help / color / mirror / Atom feed
From: Claudio Fontana <claudio.fontana@huawei.com>
To: "Zhang, Yang Z" <yang.z.zhang@intel.com>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	"virtualization@lists.linux-foundation.org"
	<virtualization@lists.linux-foundation.org>,
	"virtio-dev@lists.oasis-open.org"
	<virtio-dev@lists.oasis-open.org>,
	"opnfv-tech-discuss@lists.opnfv.org"
	<opnfv-tech-discuss@lists.opnfv.org>
Cc: Jan Kiszka <jan.kiszka@siemens.com>
Subject: Re: [Qemu-devel] [opnfv-tech-discuss] rfc: vhost user enhancements for vm2vm communication
Date: Wed, 9 Sep 2015 10:39:22 +0200	[thread overview]
Message-ID: <55EFF03A.4000109@huawei.com> (raw)
In-Reply-To: <A9667DDFB95DB7438FA9D7D576C3D87E0AD9AB0B@SHSMSX104.ccr.corp.intel.com>

On 09.09.2015 08:40, Zhang, Yang Z wrote:
> Claudio Fontana wrote on 2015-09-07:
>> Coming late to the party,
>>
>> On 31.08.2015 16:11, Michael S. Tsirkin wrote:
>>> Hello!
>>> During the KVM forum, we discussed supporting virtio on top
>>> of ivshmem. I have considered it, and came up with an alternative
>>> that has several advantages over that - please see below.
>>> Comments welcome.
>>
>> as Jan mentioned we actually discussed a virtio-shmem device which would
>> incorporate the advantages of ivshmem (so no need for a separate ivshmem
>> device), which would use the well known virtio interface, taking advantage of
>> the new virtio-1 virtqueue layout to split r/w and read-only rings as seen from
>> the two sides, and make use also of BAR0 which has been freed up for use by
>> the device.
> 
> Interesting! Can you elaborate it? 


Yes, I will post a more detailed proposal in the coming days.


>>
>> This way it would be possible to share the rings and the actual memory
>> for the buffers in the PCI bars. The guest VMs could decide to use the
>> shared memory regions directly as prepared by the hypervisor (in the
> 
> "the shared memory regions" here means share another VM's memory or like ivshmem?


It's explicitly about sharing memory between two desired VMs, as set up by the virtualization environment.


>> jailhouse case) or QEMU/KVM, or perform their own validation on the
>> input depending on the use case.
>>
>> Of course the communication between VMs needs in this case to be
>> pre-configured and is quite static (which is actually beneficial in our use case).
> 
> pre-configured means user knows which VMs will talk to each other and configure it when booting guest(i.e. in Qemu command line)?

Yes.

Ciao,

Claudio

> 
>>
>> But still in your proposed solution, each VM needs to be pre-configured to
>> communicate with a specific other VM using a separate device right?
>>
>> But I wonder if we are addressing the same problem.. in your case you are
>> looking at having a shared memory pool for all VMs potentially visible to all VMs
>> (the vhost-user case), while in the virtio-shmem proposal we discussed we
>> were assuming specific different regions for every channel.
>>
>> Ciao,
>>
>> Claudio

  parent reply	other threads:[~2015-09-09  8:40 UTC|newest]

Thread overview: 79+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-31 14:11 [Qemu-devel] rfc: vhost user enhancements for vm2vm communication Michael S. Tsirkin
2015-08-31 18:35 ` Nakajima, Jun
2015-08-31 18:35   ` [Qemu-devel] " Nakajima, Jun
2015-09-01  3:03   ` Varun Sethi
2015-09-01  3:03   ` Varun Sethi
2015-09-01  8:30     ` Michael S. Tsirkin
2015-09-01  8:30       ` Michael S. Tsirkin
2015-09-01  8:17   ` Michael S. Tsirkin
2015-09-01  8:17   ` [Qemu-devel] " Michael S. Tsirkin
2015-09-01 22:56     ` Nakajima, Jun
2015-09-01 22:56       ` [Qemu-devel] " Nakajima, Jun
2015-10-06 21:42   ` Nakajima, Jun
2015-10-06 21:42   ` [Qemu-devel] " Nakajima, Jun
2015-10-07  5:39     ` Michael S. Tsirkin
2015-10-07  5:39     ` [Qemu-devel] " Michael S. Tsirkin
2015-09-01  7:35 ` Jan Kiszka
2015-09-01  7:35   ` [Qemu-devel] " Jan Kiszka
2015-09-01  8:01   ` Michael S. Tsirkin
2015-09-01  9:11     ` Jan Kiszka
2015-09-01  9:11       ` [Qemu-devel] " Jan Kiszka
2015-09-01  9:24       ` Michael S. Tsirkin
2015-09-01 14:09         ` Jan Kiszka
2015-09-01 14:09           ` [Qemu-devel] " Jan Kiszka
2015-09-01 14:34           ` Michael S. Tsirkin
2015-09-01 14:34           ` [Qemu-devel] " Michael S. Tsirkin
2015-09-01 15:34             ` Jan Kiszka
2015-09-01 15:34               ` [Qemu-devel] " Jan Kiszka
2015-09-01 16:02               ` Michael S. Tsirkin
2015-09-01 16:02                 ` [Qemu-devel] " Michael S. Tsirkin
2015-09-01 16:28                 ` Jan Kiszka
2015-09-01 16:28                   ` [Qemu-devel] " Jan Kiszka
2015-09-02  0:01                   ` Nakajima, Jun
2015-09-02  0:01                     ` [Qemu-devel] " Nakajima, Jun
2015-09-02 12:15                     ` Michael S. Tsirkin
2015-09-02 12:15                       ` [Qemu-devel] " Michael S. Tsirkin
2015-09-03  4:45                       ` Nakajima, Jun
2015-09-03  4:45                       ` [Qemu-devel] " Nakajima, Jun
2015-09-03  8:09                         ` Michael S. Tsirkin
2015-09-03  8:09                         ` Michael S. Tsirkin
2015-09-03  8:08                   ` Michael S. Tsirkin
2015-09-03  8:08                     ` [Qemu-devel] " Michael S. Tsirkin
2015-09-03  8:21                     ` Jan Kiszka
2015-09-03  8:21                       ` [Qemu-devel] " Jan Kiszka
2015-09-03  8:37                       ` Michael S. Tsirkin
2015-09-03 10:25                         ` Jan Kiszka
2015-09-03 10:25                           ` [Qemu-devel] " Jan Kiszka
2015-09-03  8:37                       ` Michael S. Tsirkin
2015-09-01  9:24       ` Michael S. Tsirkin
2015-09-01  8:01   ` Michael S. Tsirkin
2015-09-07 12:38 ` [Qemu-devel] " Claudio Fontana
2015-09-09  6:40   ` [Qemu-devel] [opnfv-tech-discuss] " Zhang, Yang Z
2015-09-09  8:39     ` Claudio Fontana
2015-09-09  8:39     ` Claudio Fontana [this message]
2015-09-18 16:29       ` [Qemu-devel] RFC: virtio-peer shared memory based peer communication device Claudio Fontana
2015-09-18 21:11         ` Paolo Bonzini
2015-09-18 21:11           ` [Qemu-devel] " Paolo Bonzini
2015-09-21 10:47           ` Jan Kiszka
2015-09-21 10:47             ` [Qemu-devel] " Jan Kiszka
2015-09-21 12:15             ` Paolo Bonzini
2015-09-21 12:15               ` [Qemu-devel] " Paolo Bonzini
2015-09-21 12:13         ` Michael S. Tsirkin
2015-09-21 12:32           ` Jan Kiszka
2015-09-21 12:32             ` [Qemu-devel] " Jan Kiszka
2015-09-24 10:04             ` Michael S. Tsirkin
2015-09-24 10:04             ` Michael S. Tsirkin
2015-09-21 12:13         ` Michael S. Tsirkin
2015-09-18 16:29       ` Claudio Fontana
2015-09-09  6:40   ` [opnfv-tech-discuss] rfc: vhost user enhancements for vm2vm communication Zhang, Yang Z
2015-09-09  7:06   ` Michael S. Tsirkin
2015-09-09  7:06   ` [Qemu-devel] " Michael S. Tsirkin
2015-09-11 15:39     ` Claudio Fontana
2015-09-11 15:39       ` [Qemu-devel] " Claudio Fontana
2015-09-13  9:12       ` Michael S. Tsirkin
2015-09-13  9:12       ` [Qemu-devel] " Michael S. Tsirkin
2015-09-14  0:43         ` [opnfv-tech-discuss] " Zhang, Yang Z
2015-09-14  0:43           ` [Qemu-devel] " Zhang, Yang Z
2015-09-07 12:38 ` Claudio Fontana
2015-09-14 16:00 ` [virtio-dev] " Stefan Hajnoczi
2015-09-14 16:00   ` [Qemu-devel] " Stefan Hajnoczi

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=55EFF03A.4000109@huawei.com \
    --to=claudio.fontana@huawei.com \
    --cc=jan.kiszka@siemens.com \
    --cc=mst@redhat.com \
    --cc=opnfv-tech-discuss@lists.opnfv.org \
    --cc=qemu-devel@nongnu.org \
    --cc=virtio-dev@lists.oasis-open.org \
    --cc=virtualization@lists.linux-foundation.org \
    --cc=yang.z.zhang@intel.com \
    /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.