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

Help understanding the x86 instruction decoder and emulator



Hello,

I am new to xen code and have been trying to understand how xen handles emulated instructions like CPUID for PV VMs. 

I looked into the files in  xen/arch/x86/x86_emulate folder which handle emulation logic but I can't make out much sense from the logic.

Can someone please explain to me the logic behind this emulation and how it functions with the various cpu traps defined in xen/arch/x86/include/asm/processor.h


Thank you in advance for your help

 


Rackspace

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