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

Re: [Xen-devel] trap/interrupt gate for hypercall



On 15/5/07 15:43, "Tian, Kevin" <kevin.tian@xxxxxxxxx> wrote:

> Just a curious question about IDT descriptor type for hypercall. What's
> the reason to use interrupt-gate type (14) for hypercall (0x82) on 32bit
> 
> Xen?

Everything's an interrupt gate on 32-bit Xen, so that we can safely
(atomically) save away guest segment register state. NMI is the only real
pain, and I suppose MCE too. Coincidentally Jan just emailed about this very
point.

 -- 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®.