Re: [PATCH] xen pvhvm: do not remap pirqs onto evtchns if!xen_have_vector_callback

From: Stefano Stabellini
Date: Tue Jan 31 2012 - 11:38:57 EST


On Tue, 31 Jan 2012, Konrad Rzeszutek Wilk wrote:
> On Mon, Jan 30, 2012 at 02:31:46PM +0000, Stefano Stabellini wrote:
> >
> > Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
>
> So the xen_have_vector_callback looks to be only set by
>
> 1398 if (xen_feature(XENFEAT_hvm_callback_vector))
> 1399 xen_have_vector_callback = 1;
>
> So could this be just done via a check for that instead?
>

Sure, but I don't think it would be better: using
xen_have_vector_callback is more consistent and give us the flexibility
of allowing users to manually override it in the future.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/