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

Jason Gunthorpe jgg at mellanox.com
Mon Nov 18 20:28:48 UTC 2019


On Mon, Nov 18, 2019 at 03:27:13PM -0500, Michael S. Tsirkin wrote:
> 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?

mdev_bus_type ?

Jason 


More information about the Intel-gfx mailing list