|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] xen-detect.c question
Well, I'm not sure about the internals of Xen, but I can read C. It
looks like it should be able to detect HVM and PV.
What it does is:
Executes some assembly code to get the id of the cpu
If that returns "XenVMMXenVMM" then we're running Xen in HVM mode
Otherwise it tests for PV mode.
It executes the same assembly code, but this time in pv context (which
will only work on a PV machine)
If that succeeds then we're running Xen in PV mode.
If that fails then we're not running Xen.
Jeff
On 26/05/09 11:51, 정희동 wrote:
Hello, I have a question about xen-detect.c (which is posted
http://lists.xensource.com/archives/html/xen-changelog/2007-02/msg00075.html
here)
It says that by running this program xen PV and HVM can be detected.
First of all, is it true that it can detect HVM (hardware support Xen)?
Can anyone confirm this?
If it is true then can anyone explain me how this can detect xen?
Thank you in advance.
------------------------------------------------------------------------
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|