VMM detection
Hi men,
If there is an application who wants to detect what the OS is running on, physical hardware or Xen, can he do it like this:
using SGDT to get GDT's address.
If its address is 0xCxxxxxxx, then it's on physical hardware (the OS is Linux) If the address is 0xFxxxxxxx (0xFE820000), then it's on Xen.
I test it, and it works.
Can Xen do something to prevent this?
Thanks,
Wu
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
It would be impossible to hide virtualisation from a PV guest kernel of course, and very hard to hide it from a PV guest application also.
-- Keir
Quoted 8 lines · Wu Bingzheng
using SGDT to get GDT's address.
If its address is 0xCxxxxxxx, then it's on physical hardware (the OS is Linux) If the address is 0xFxxxxxxx (
0xFE820000), then it's on Xen.I test it, and it works.
Can Xen do something to prevent this?