[PATCH] drm/i915/gvt: Add mdev device attribute group

Tian, Kevin kevin.tian at intel.com
Mon Mar 13 06:34:35 UTC 2017


> From: Zhenyu Wang [mailto:zhenyuw at linux.intel.com]
> Sent: Monday, March 13, 2017 2:30 PM
> 
> On 2017.03.13 06:26:49 +0000, Tian, Kevin wrote:
> > > From: Zhenyu Wang
> > > Sent: Wednesday, March 08, 2017 4:42 PM
> > >
> > > On 2017.03.08 16:19:48 +0800, Zhenyu Wang wrote:
> > > > This adds initial attribute group for mdev to hold vGPU related
> > > > for each mdev device, currently just vGPU id is shown.
> > > >
> > > > Signed-off-by: Zhenyu Wang <zhenyuw at linux.intel.com>
> > > > ---
> > >
> > > As this will try to create gvt specific attrs directory for each mdev,
> > > named for "vgpu" now, if anyone prefers other name like "intel_vgpu"?
> >
> > vgpu is OK, but curious what's the point of reporting such internal ID?
> >
> 
> One reason is that for driver message which only contains vGPU id, we need
> a way to link that for mdev device which is created by UUID, otherwise can't
> tell which VM the driver message is for.
> 

what about printing vGPU id when the vGPU instance is created?

Thanks
Kevin


More information about the intel-gvt-dev mailing list