Messages in this thread | | | From | "Zhang, Tina" <> | Subject | RE: [RFC PATCH v3 1/4] vfio: Define device specific irq type capability | Date | Thu, 27 Jun 2019 08:55:21 +0000 |
| |
> -----Original Message----- > From: intel-gvt-dev [mailto:intel-gvt-dev-bounces@lists.freedesktop.org] On > Behalf Of Gerd Hoffmann > Sent: Thursday, June 27, 2019 2:20 PM > To: Zhang, Tina <tina.zhang@intel.com> > Cc: Tian, Kevin <kevin.tian@intel.com>; kvm@vger.kernel.org; linux- > kernel@vger.kernel.org; zhenyuw@linux.intel.com; Yuan, Hang > <hang.yuan@intel.com>; alex.williamson@redhat.com; Lv, Zhiyuan > <zhiyuan.lv@intel.com>; intel-gvt-dev@lists.freedesktop.org; Wang, Zhi A > <zhi.a.wang@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.
BR, tina > > cheers, > Gerd > > _______________________________________________ > intel-gvt-dev mailing list > intel-gvt-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/intel-gvt-dev
| |