From: Stefan Hajnoczi <stefanha@redhat.com>
To: Alex Williamson <alex.williamson@redhat.com>
Cc: John G Johnson <john.g.johnson@oracle.com>,
Daniele Buono <dbuono@us.ibm.com>,
slp@redhat.com, "Michael S. Tsirkin" <mst@redhat.com>,
qemu-devel@nongnu.org,
"marcandre.lureau@redhat.com" <marcandre.lureau@redhat.com>,
Hubertus Franke <frankeh@us.ibm.com>,
rust-vmm@lists.opendev.org,
Thanos Makatos <thanos.makatos@nutanix.com>
Subject: Re: Requirements for out-of-process device emulation
Date: Mon, 12 Oct 2020 16:39:53 +0100 [thread overview]
Message-ID: <20201012153953.GC145304@stefanha-x1.localdomain> (raw)
In-Reply-To: <20201009134449.041b5e71@x1.home>
[-- Attachment #1: Type: text/plain, Size: 1565 bytes --]
On Fri, Oct 09, 2020 at 01:44:49PM -0600, Alex Williamson wrote:
> On Fri, 9 Oct 2020 17:18:15 +0100
> Stefan Hajnoczi <stefanha@redhat.com> wrote:
> > Extensibility for new bus types
> > ```````````````````````````````
> > It should be possible to support multiple bus types. vhost-user only
> > supports vhost devices. VFIO is more extensible but currently focussed
> > on PCI devices.
>
> Wait a sec, the vfio API essentially deconstructs devices into exactly
> the resources you've outlined above. We not only have a vfio-pci
> device convention within vfio, but we've defined vfio-platform,
> vfio-amba, vfio-ccw, vfio-ap, and we'll likely be adding vfio-fsl-mc in
> the next kernel. The core device, group, and container model within
> vfio is completely device/bus agnostic. So while it's true that
> vfio-pci is the most mature and featureful convention, that's largely a
> reflection that PCI is the most ubiquitous device interface currently
> available. Thanks,
Hi Alex,
Yes, I don't mean to say that VFIO cannot support new bus types.
The most likely new bus type I can foresee is QEMU's SysBus, which would
allow moving ISA, System-on-Chip, etc devices into a separate process.
We'll need to figure out whether vfio-user evolves independently from
the kernel VFIO ioctl interface or whether efforts are made to keep the
two in sync. The kernel may not need SysBus, but as the vfio-user
protocol diverges from the kernel VFIO ioctl interface it becomes harder
to share the commands and avoid duplication.
Stefan
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2020-10-12 16:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-09 16:18 Requirements for out-of-process device emulation Stefan Hajnoczi
2020-10-09 19:44 ` Alex Williamson
2020-10-12 15:39 ` Stefan Hajnoczi [this message]
2020-10-12 17:16 ` Alex Bennée
2020-11-11 11:17 ` [Rust-VMM] " Stefan Hajnoczi
[not found] <CAJSP0QUUR72Rr_deeckz+RHpZMEBv692V4XupWy9ai3i2QD8bw@mail.gmail.com>
2020-01-14 14:06 ` 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=20201012153953.GC145304@stefanha-x1.localdomain \
--to=stefanha@redhat.com \
--cc=alex.williamson@redhat.com \
--cc=dbuono@us.ibm.com \
--cc=frankeh@us.ibm.com \
--cc=john.g.johnson@oracle.com \
--cc=marcandre.lureau@redhat.com \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=rust-vmm@lists.opendev.org \
--cc=slp@redhat.com \
--cc=thanos.makatos@nutanix.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).