From: Stefan Hajnoczi <stefanha@redhat.com>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: virtio-dev@lists.oasis-open.org,
Jan Kiszka <jan.kiszka@siemens.com>,
Claudio.Fontana@huawei.com, qemu-devel@nongnu.org,
virtualization@lists.linux-foundation.org,
opnfv-tech-discuss@lists.opnfv.org
Subject: Re: [Qemu-devel] [virtio-dev] rfc: vhost user enhancements for vm2vm communication
Date: Mon, 14 Sep 2015 17:00:22 +0100 [thread overview]
Message-ID: <20150914160022.GB15536@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <20150831160655-mutt-send-email-mst@redhat.com>
On Mon, Aug 31, 2015 at 05:11:02PM +0300, Michael S. Tsirkin wrote:
> The resulting channel might look something like the following:
>
> +-- VM1 --------------+ +---VM2-----------+
> | virtio-pci -- iommu +--+ vhost-pci -- VF | -- VFIO -- IOMMU -- NIC
> +---------------------+ +-----------------+
>
> comparing the two diagrams, a vhost-user thread on the host is
> no longer required, reducing the host CPU utilization when
> polling is active. At the same time, VM2 can not access all of VM1's
> memory - it is limited by the iommu configuration setup by VM1.
Can this use virtio's vring? If standard virtio devices (net, blk, etc)
cannot be used because this scheme requires new descriptor rings or
memory layout, then this is more an "ivshmem 2.0" than "virtio".
I'm not clear on how vhost-pci works - is this a host kernel component
that updates VM2's memory mappings when VM1 changes iommu entries?
In VM2 there is a userspace network router. It can mmap the VF's BARs
to access the physical network. What about the virtual NIC to VM1, how
does the userspace network router access it?
prev parent reply other threads:[~2015-09-14 16:00 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
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 ` Stefan Hajnoczi [this message]
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=20150914160022.GB15536@stefanha-thinkpad.redhat.com \
--to=stefanha@redhat.com \
--cc=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 \
/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).