[Intel-gfx] [PATCH V13 4/6] mdev: introduce mediated virtio bus

Michael S. Tsirkin mst at redhat.com
Mon Nov 18 20:27:13 UTC 2019


On Mon, Nov 18, 2019 at 01:41:00PM +0000, Jason Gunthorpe wrote:
> On Mon, Nov 18, 2019 at 06:59:21PM +0800, Jason Wang wrote:
> > +struct bus_type mdev_virtio_bus_type;
> > +
> > +struct mdev_virtio_device {
> > +	struct mdev_device mdev;
> > +	const struct mdev_virtio_ops *ops;
> > +	u16 class_id;
> > +};
> 
> This seems to share nothing with mdev (ie mdev-vfio), why is it on the
> same bus?

I must be missing something - which bus do they share?

-- 
MST



More information about the Intel-gfx mailing list