xen-detect.c question.
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-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Hi,
Quoted 9 lines · 정희동
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?
Yes, you should also confirm it.
Quoted 2 lines
If it is true then can anyone explain me how this can detect xen?
See the following thread.
http://thread.gmane.org/gmane.comp.emulators.kvm.devel/22643
Best Regards,
Akio Takebe
Hello,
Thank you so much for the reply =)
I will confirm it myself soon.
2009/5/26 Akio Takebe <[email protected]>
Quoted 16 lines
Hi,
Quoted 11 lines · 정희동
Hello, I have a question about
xen-detect.c(which is postedhttp://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?
Yes, you should also confirm it.
Quoted 9 lines
If it is true then can anyone explain me how this can detect xen?
Quoted 2 lines
See the following thread.
http://thread.gmane.org/gmane.comp.emulators.kvm.devel/22643
Best Regards,
Akio Takebe
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Wrt xen implementation, you can take a look at the function cpuid_hypervisor_leaves.
The min leaf for xen (MSR base address) is 0x40000000.
Btw, I don't follow the special handling of viridian domains in cpuid_hypervisor_leaves, when its taken care of in cpuid_viridian_leaves (both called from hvm_cpuid). Is it dead code ?
-dulloor
***CL final (Barca vs Man-U) - 2:30 PM (EST)***
2009/5/26 정희동 <[email protected]>
Quoted 31 lines
Hello,
Thank you so much for the reply =)
I will confirm it myself soon.
2009/5/26 Akio Takebe <[email protected]>
Quoted 23 lines
Hi,
Quoted 11 lines · 정희동
Hello, I have a question about
xen-detect.c(which is postedhttp://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?
Yes, you should also confirm it.
If it is true then can anyone explain me how this can detect xen?
Quoted 2 lines
See the following thread.
http://thread.gmane.org/gmane.comp.emulators.kvm.devel/22643
Best Regards,
Quoted 10 lines
Quoted 2 lines
Akio Takebe
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 5 lines · Dulloor
Wrt xen implementation, you can take a look at the function
cpuid_hypervisor_leaves. The min leaf for xen (MSR base address) is0x40000000.Btw, I don't follow the special handling of viridian domains in
cpuid_hypervisor_leaves, when its taken care of incpuid_viridian_leaves(both called fromhvm_cpuid). Is it dead code ?
Viridian's CPUID leaves live at the same place as Xen's do (the idea being, that's where you look to find out which hypervisor is running). When we expose both interfaces, we need to move the Xen ones to a different set of leaves. When PV-on-HVM drivers find a hypervisor at 0x40000000 that isn't the one they were expecting, they should keep looking at 0x100 increments until they find either the one they want or zero.
Cheers,
Tim.
Quoted 37 lines
-dulloor
***CL final (Barca vs Man-U) - 2:30 PM (EST)***
2009/5/26 ?????? <[email protected]<mailto:[email protected]>> Hello,
Thank you so much for the reply =)
I will confirm it myself soon.
2009/5/26 Akio Takebe <[email protected]<mailto:[email protected]>>
Hi,
?????? wrote:
Hello, I have a question aboutxen-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?
Yes, you should also confirm it.
If it is true then can anyone explain me how this can detect xen?
See the following thread.
http://thread.gmane.org/gmane.comp.emulators.kvm.devel/22643Best Regards,
Quoted 9 lines
Akio Takebe
_______________________________________________
Xen-devel mailing list [email protected]<mailto:[email protected]>
http://lists.xensource.com/xen-devel
Content-Description: ATT00001.txt
Quoted 4 lines
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Signature · 3 lines
Tim Deegan <[email protected]> Principal Software Engineer, Citrix Systems (R&D) Ltd. [Company #02300071, SL9 0DZ, UK.]