[RFC PATCH v3 1/4] vfio: Define device specific irq type capability
Gerd Hoffmann
kraxel at redhat.com
Thu Jun 27 10:20:47 UTC 2019
On Thu, Jun 27, 2019 at 08:55:21AM +0000, Zhang, Tina wrote:
>
>
> > -----Original Message-----
> > From: intel-gvt-dev [mailto:intel-gvt-dev-bounces at lists.freedesktop.org] On
> > Behalf Of Gerd Hoffmann
> > Sent: Thursday, June 27, 2019 2:20 PM
> > To: Zhang, Tina <tina.zhang at intel.com>
> > Cc: Tian, Kevin <kevin.tian at intel.com>; kvm at vger.kernel.org; linux-
> > kernel at vger.kernel.org; zhenyuw at linux.intel.com; Yuan, Hang
> > <hang.yuan at intel.com>; alex.williamson at redhat.com; Lv, Zhiyuan
> > <zhiyuan.lv at intel.com>; intel-gvt-dev at lists.freedesktop.org; Wang, Zhi A
> > <zhi.a.wang at intel.com>
> > Subject: Re: [RFC PATCH v3 1/4] vfio: Define device specific irq type
> > capability
> >
> > Hi,
> >
> > > +struct vfio_irq_info_cap_type {
> > > + struct vfio_info_cap_header header;
> > > + __u32 type; /* global per bus driver */
> > > + __u32 subtype; /* type specific */
> >
> > Do we really need both type and subtype?
> Then, if one device has several irqs, how can we identify them?
> Thanks.
Just assign multiple types?
cheers,
Gerd
More information about the intel-gvt-dev
mailing list