qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: "virtio-dev@lists.oasis-open.org"
	<virtio-dev@lists.oasis-open.org>,
	Claudio Fontana <claudio.fontana@huawei.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	"virtualization@lists.linux-foundation.org"
	<virtualization@lists.linux-foundation.org>,
	"Zhang, Yang Z" <yang.z.zhang@intel.com>,
	"opnfv-tech-discuss@lists.opnfv.org"
	<opnfv-tech-discuss@lists.opnfv.org>
Subject: Re: [Qemu-devel] RFC: virtio-peer shared memory based peer communication device
Date: Thu, 24 Sep 2015 13:04:20 +0300	[thread overview]
Message-ID: <20150924125725-mutt-send-email-mst@redhat.com> (raw)
In-Reply-To: <55FFF8CA.3020008@siemens.com>

On Mon, Sep 21, 2015 at 02:32:10PM +0200, Jan Kiszka wrote:
> On 2015-09-21 14:13, Michael S. Tsirkin wrote:
> > On Fri, Sep 18, 2015 at 06:29:27PM +0200, Claudio Fontana wrote:
> >> Hello,
> >>
> >> this is a first RFC for virtio-peer 0.1, which is still very much a work in progress:
> >>
> >> https://github.com/hw-claudio/virtio-peer/wiki
> >>
> >> It is also available as PDF there, but the text is reproduced here for commenting:
> >>
> >> Peer shared memory communication device (virtio-peer)
> >>
> >> General Overview
> >>
> >> (I recommend looking at the PDF for some clarifying pictures)
> >>
> >> The Virtio Peer shared memory communication device (virtio-peer) is a
> >> virtual device which allows high performance low latency guest to
> >> guest communication. It uses a new queue extension feature tentatively
> >> called VIRTIO_F_WINDOW which indicates that descriptor tables,
> >> available and used rings and Queue Data reside in physical memory
> >> ranges called Windows, each identified with an unique identifier
> >> called WindowID.
> > 
> > So if I had to summarize the difference from regular virtio,
> > I'd say the main one is that this uses window id + offset
> > instead of the physical address.
> > 
> > 
> > My question is - why do it?
> > 
> > All windows are in memory space, are they not?
> > 
> > How about guest using full physical addresses,
> > and hypervisor sending the window physical address
> > to VM2?
> > 
> > VM2 can uses that to find both window id and offset.
> > 
> > 
> > This way at least VM1 can use regular virtio without changes.
> 
> What would be the value of having different drivers in VM1 and VM2,
> specifically if both run Linux?
> 
> Jan

It's common to have a VM act as a switch between others.

In this setup, there's value in being able to support existing guests as
endpoints, with new drivers only required for the switch.

> -- 
> Siemens AG, Corporate Technology, CT RTC ITP SES-DE
> Corporate Competence Center Embedded Linux

  reply	other threads:[~2015-09-24 10:25 UTC|newest]

Thread overview: 40+ 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-09-01  3:03   ` Varun Sethi
2015-09-01  8:30     ` Michael S. Tsirkin
2015-09-01  8:17   ` Michael S. Tsirkin
2015-09-01 22:56     ` Nakajima, Jun
2015-10-06 21:42   ` Nakajima, Jun
2015-10-07  5:39     ` Michael S. Tsirkin
2015-09-01  7:35 ` Jan Kiszka
2015-09-01  8:01   ` Michael S. Tsirkin
2015-09-01  9:11     ` Jan Kiszka
2015-09-01  9:24       ` Michael S. Tsirkin
2015-09-01 14:09         ` Jan Kiszka
2015-09-01 14:34           ` Michael S. Tsirkin
2015-09-01 15:34             ` Jan Kiszka
2015-09-01 16:02               ` Michael S. Tsirkin
2015-09-01 16:28                 ` Jan Kiszka
2015-09-02  0:01                   ` Nakajima, Jun
2015-09-02 12:15                     ` Michael S. Tsirkin
2015-09-03  4:45                       ` Nakajima, Jun
2015-09-03  8:09                         ` Michael S. Tsirkin
2015-09-03  8:08                   ` Michael S. Tsirkin
2015-09-03  8:21                     ` Jan Kiszka
2015-09-03  8:37                       ` Michael S. Tsirkin
2015-09-03 10:25                         ` Jan Kiszka
2015-09-07 12:38 ` Claudio Fontana
2015-09-09  6:40   ` [Qemu-devel] [opnfv-tech-discuss] " Zhang, Yang Z
2015-09-09  8:39     ` Claudio Fontana
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-21 10:47           ` Jan Kiszka
2015-09-21 12:15             ` Paolo Bonzini
2015-09-21 12:13         ` Michael S. Tsirkin
2015-09-21 12:32           ` Jan Kiszka
2015-09-24 10:04             ` Michael S. Tsirkin [this message]
2015-09-09  7:06   ` [Qemu-devel] rfc: vhost user enhancements for vm2vm communication Michael S. Tsirkin
2015-09-11 15:39     ` Claudio Fontana
2015-09-13  9:12       ` Michael S. Tsirkin
2015-09-14  0:43         ` [Qemu-devel] [opnfv-tech-discuss] " Zhang, Yang Z
2015-09-14 16:00 ` [Qemu-devel] [virtio-dev] " 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=20150924125725-mutt-send-email-mst@redhat.com \
    --to=mst@redhat.com \
    --cc=claudio.fontana@huawei.com \
    --cc=jan.kiszka@siemens.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).