In intel software developper manual, they talk about how to load some guest states such as control register, debug register, RIP, RFLAGS, etc. but nothing about anywhere in the VMCS we could load general purpose registers from. And google does not help more than that. Any idea?
Asked
Active
Viewed 112 times
0
-
IIRC you need to save general purpose registers to stack (or another location) on the beginning of your VM exit handler. Look at for inspiration SImpleVisor – https://github.com/ionescu007/SimpleVisor. – Martin Drab Sep 28 '16 at 19:56
-
@MartinDrab, thank you – Mahouk Sep 29 '16 at 09:04