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

Re: [Xen-devel] current not very current (vs curr_vcpu)



On 19/02/2010 19:23, "Mukesh Rathor" <mukesh.rathor@xxxxxxxxxx> wrote:

> Yes, but my point is it doesn't appear to be running idle vcpu as
> indicated by regs->rsp and regs->rip. They both point to dom0 context.
> This from printk in ns16550_interrupt().
> 
> To rephrase the question, if regs->rip and regs->rsp show guest context
> in do_IRQ(), then current must always point to guest vcpu, correct?

Oh, so the serial interrupt interrupted a guest's execution? Then yes,
current should point at that guest.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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