[virtio-dev] Re: [virtio-comment] [PATCH 00/11] Introduce transitional mmr pci device

Michael S. Tsirkin
2023-04-03T20:06:16Z

On Mon, Apr 03, 2023 at 03:11:52PM -0400, Stefan Hajnoczi wrote:
> On Mon, Apr 03, 2023 at 01:48:46PM -0400, Michael S. Tsirkin wrote:
> > On Mon, Apr 03, 2023 at 10:53:29AM -0400, Parav Pandit wrote:
> > > On 4/3/2023 10:45 AM, Stefan Hajnoczi wrote:
> > > > On Fri, Mar 31, 2023 at 01:58:23AM +0300, Parav Pandit wrote:
> > > > > 3. A hypervisor system prefers to have single stack regardless of
> > > > > virtio device type (net/blk) and be future compatible with a
> > > > > single vfio stack using SR-IOV or other scalable device
> > > > > virtualization technology to map PCI devices to the guest VM.
> > > > > (as transitional or otherwise)
> > > >
> > > > What does this paragraph mean?
> > > >
> > > It means regardless of a VF being transitional MMR VF or 1.x VF without any
> > > MMR extensions, there is single vfio virtio driver handling both type of
> > > devices to map to the guest VM.
> >
> > I don't think this can be vfio. You need a host layer translating
> > things such as device ID etc.
>
> An mdev driver?

vdpa seems more likely. we can extend it to support legacy if we want
to.

--
MST