* xen-detect.c question.
@ 2009-05-26 3:49 정희동
2009-05-26 14:37 ` Akio Takebe
0 siblings, 1 reply; 5+ messages in thread
From: 정희동 @ 2009-05-26 3:49 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 403 bytes --]
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.
[-- Attachment #1.2: Type: text/html, Size: 621 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: xen-detect.c question.
2009-05-26 3:49 xen-detect.c question 정희동
@ 2009-05-26 14:37 ` Akio Takebe
2009-05-26 17:59 ` 정희동
0 siblings, 1 reply; 5+ messages in thread
From: Akio Takebe @ 2009-05-26 14:37 UTC (permalink / raw)
To: 정희동; +Cc: xen-devel
Hi,
정희동 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?
>
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/22643
Best Regards,
Akio Takebe
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: xen-detect.c question.
2009-05-26 14:37 ` Akio Takebe
@ 2009-05-26 17:59 ` 정희동
2009-05-26 22:45 ` Dulloor
0 siblings, 1 reply; 5+ messages in thread
From: 정희동 @ 2009-05-26 17:59 UTC (permalink / raw)
To: Akio Takebe; +Cc: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 768 bytes --]
Hello,
Thank you so much for the reply =)
I will confirm it myself soon.
2009/5/26 Akio Takebe <takebe_akio@jp.fujitsu.com>
> Hi,
>
> 정희동 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?
>>
>> 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/22643
>
> Best Regards,
>
> Akio Takebe
>
[-- Attachment #1.2: Type: text/html, Size: 1629 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: xen-detect.c question.
2009-05-26 17:59 ` 정희동
@ 2009-05-26 22:45 ` Dulloor
2009-05-27 8:18 ` Tim Deegan
0 siblings, 1 reply; 5+ messages in thread
From: Dulloor @ 2009-05-26 22:45 UTC (permalink / raw)
To: 정희동; +Cc: xen-devel, Akio Takebe
[-- Attachment #1.1: Type: text/plain, Size: 1408 bytes --]
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 정희동 <heedongj@gmail.com>
> Hello,
>
> Thank you so much for the reply =)
>
> I will confirm it myself soon.
>
> 2009/5/26 Akio Takebe <takebe_akio@jp.fujitsu.com>
>
>> Hi,
>>
>> 정희동 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?
>>>
>>> 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/22643
>>
>> Best Regards,
>>
>> Akio Takebe
>>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
>
[-- Attachment #1.2: Type: text/html, Size: 2651 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: xen-detect.c question.
2009-05-26 22:45 ` Dulloor
@ 2009-05-27 8:18 ` Tim Deegan
0 siblings, 0 replies; 5+ messages in thread
From: Tim Deegan @ 2009-05-27 8:18 UTC (permalink / raw)
To: Dulloor; +Cc: ??????, Akio Takebe, xen-devel@lists.xensource.com
At 23:45 +0100 on 26 May (1243381500), Dulloor wrote:
> 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 ?
>
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.
> -dulloor
>
> ***CL final (Barca vs Man-U) - 2:30 PM (EST)***
>
>
> 2009/5/26 ?????? <heedongj@gmail.com<mailto:heedongj@gmail.com>>
> Hello,
>
> Thank you so much for the reply =)
>
> I will confirm it myself soon.
>
> 2009/5/26 Akio Takebe <takebe_akio@jp.fujitsu.com<mailto:takebe_akio@jp.fujitsu.com>>
>
> Hi,
>
>
> ?????? 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?
>
> 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/22643
>
> Best Regards,
>
> Akio Takebe
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com<mailto:Xen-devel@lists.xensource.com>
> http://lists.xensource.com/xen-devel
>
>
Content-Description: ATT00001.txt
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
--
Tim Deegan <Tim.Deegan@citrix.com>
Principal Software Engineer, Citrix Systems (R&D) Ltd.
[Company #02300071, SL9 0DZ, UK.]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-05-27 8:18 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-26 3:49 xen-detect.c question 정희동
2009-05-26 14:37 ` Akio Takebe
2009-05-26 17:59 ` 정희동
2009-05-26 22:45 ` Dulloor
2009-05-27 8:18 ` Tim Deegan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.