> -----Original Message----- > From: intel-gvt-dev [mailto:[email protected]] On > Behalf Of Gerd Hoffmann > Sent: Thursday, June 27, 2019 2:20 PM > To: Zhang, Tina <[email protected]> > Cc: Tian, Kevin <[email protected]>; [email protected]; linux- > [email protected]; [email protected]; Yuan, Hang > <[email protected]>; [email protected]; Lv, Zhiyuan > <[email protected]>; [email protected]; Wang, Zhi A > <[email protected]> > 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 > [email protected] > https://lists.freedesktop.org/mailman/listinfo/intel-gvt-dev

