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