[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 10/18] PVH xen: interrupt/event-channel delivery to PVH



On Tue, 25 Jun 2013 10:29:54 -0400
Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> wrote:

> On Mon, Jun 24, 2013 at 05:01:39PM -0700, Mukesh Rathor wrote:
> > PVH uses HVMIRQ_callback_vector for interrupt delivery. Also, change
> > hvm_vcpu_has_pending_irq() as PVH doesn't use vlapic emulation.
> 
> Please explain why it can't use the normal "if .." in the
> hvm_vcpu_has_pending_irq.
> 
> I figured it is b/c the guest boots in an HVM container so the
> event mechanism is offline until it gets enabled. And that means
> no HVM type interrupts (so emulated timer interrupts say) should
> interrupt it until the event mechanism (or rather the callback
> vector) is in place.
> 
What you say is true, I can put that in git commit. The function
handles hvm which can either be callback or vlapic. For PVH we know
vlapic is never used, so we can just shortcut that.

thanks
mukesh


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.