From: Stefan Hajnoczi <stefanha@redhat.com>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: lulu@redhat.com, tiwei.bie@intel.com,
"Michael S. Tsirkin" <mst@redhat.com>,
jasowang@redhat.com, qemu-devel@nongnu.org,
raphael.norwitz@nutanix.com, maxime.coquelin@redhat.com,
Felipe Franciosi <felipe@nutanix.com>,
marcandre.lureau@redhat.com,
Nikos Dragazis <ndragazis@arrikto.com>,
changpeng.liu@intel.com, Daniele Buono <dbuono@us.ibm.com>
Subject: Re: Outline for VHOST_USER_PROTOCOL_F_VDPA
Date: Thu, 1 Oct 2020 16:13:50 +0100 [thread overview]
Message-ID: <20201001151350.GC559957@stefanha-x1.localdomain> (raw)
In-Reply-To: <20201001072837.xbiomrvbox6ukl2c@sirius.home.kraxel.org>
[-- Attachment #1: Type: text/plain, Size: 1471 bytes --]
On Thu, Oct 01, 2020 at 09:28:37AM +0200, Gerd Hoffmann wrote:
> Hi,
>
> > > Architecturally, I think we can have 3 processes:
> > >
> > > VMM -- guest device emulation -- host backend
> > >
> > > to me this looks like increasing our defence in depth strength,
> > > as opposed to just shifting things around ...
> >
> > Cool idea.
>
> Isn't that exactly what we can do once the multi-process qemu patches
> did land, at least for block devices? With "VMM" being main qemu,
> "guest device emulation" being offloaded to one (or more) remote qemu
> process(es), and qemu-storage-daemon being the host backend?
Status of mpqemu: the current mpqemu patch series has limited
functionality (so that we can merge it sooner rather than later). Don't
expect to use it with arbitrary PCI devices yet, only the LSI SCSI
controller.
In mpqemu (and vfio-user) QEMU handles all MMIO/PIO accesses by
forwarding them to the device emulation process. Therefore QEMU is still
involved to an extent. This can be fixed with ioeventfd for doorbells,
the proposed ioregionfd mechanism for MMIO/PIO, and vfio-user mmap
regions for RAM-backed device memory.
However, QEMU itself still emulates the PCI controller. This means
PCI configuration space and other device operations still go to QEMU. In
order to fully move emulation out of QEMU we'd need to do something more
drastic and I think this is what we're discussion in this sub-thread.
Stefan
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2020-10-01 15:20 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-28 9:25 Outline for VHOST_USER_PROTOCOL_F_VDPA Stefan Hajnoczi
2020-09-28 11:21 ` Marc-André Lureau
2020-09-28 15:32 ` Stefan Hajnoczi
2020-10-12 2:56 ` Jason Wang
2020-09-29 6:09 ` Michael S. Tsirkin
2020-09-29 8:57 ` Stefan Hajnoczi
2020-09-29 10:04 ` Michael S. Tsirkin
2020-09-29 18:38 ` Stefan Hajnoczi
2020-09-30 8:07 ` Michael S. Tsirkin
2020-09-30 14:57 ` Stefan Hajnoczi
2020-09-30 15:31 ` Michael S. Tsirkin
2020-09-30 15:34 ` Michael S. Tsirkin
2020-10-01 7:28 ` Gerd Hoffmann
2020-10-01 15:13 ` Stefan Hajnoczi [this message]
2020-10-12 3:52 ` Jason Wang
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=20201001151350.GC559957@stefanha-x1.localdomain \
--to=stefanha@redhat.com \
--cc=changpeng.liu@intel.com \
--cc=dbuono@us.ibm.com \
--cc=felipe@nutanix.com \
--cc=jasowang@redhat.com \
--cc=kraxel@redhat.com \
--cc=lulu@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=maxime.coquelin@redhat.com \
--cc=mst@redhat.com \
--cc=ndragazis@arrikto.com \
--cc=qemu-devel@nongnu.org \
--cc=raphael.norwitz@nutanix.com \
--cc=tiwei.bie@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).