On Wed, Nov 17, 2010 at 09:29:22AM +0800, Sheng Yang wrote:
> > > +#define KVM_MSIX_TYPE_ASSIGNED_DEV       1
> > > +
> > > +#define KVM_MSIX_FLAG_MASKBIT            (1 << 0)
> > > +#define KVM_MSIX_FLAG_QUERY_MASKBIT      (1 << 0)
> > > +
> > > +struct kvm_msix_entry {
> > > + __u32 id;
> > > + __u32 type;
> > 
> > Is type really necessary? Will it ever differ from
> > KVM_MSIX_TYPE_ASSIGNED_DEV?
> 
> This is the suggestion from Michael. He want it to be reused by emulated/pv 
> devices. So I add the type field here.

Maybe id field can be reused for this somehow.

-- 
MST
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to