[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] xen-detect.c question.


  • To: 정희동 <heedongj@xxxxxxxxx>
  • From: Dulloor <dulloor@xxxxxxxxx>
  • Date: Tue, 26 May 2009 18:45:00 -0400
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
  • Delivery-date: Tue, 26 May 2009 15:45:37 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=mWKdzg6SiQdVg86GqjWfM7lc3zQMs9pgCYEH2cEMHRW8uiTO1rnQZoWv7yB4aOn9Cf 4/Q56ktWqFzSdt+EaCiXQz8H63DzN1X0AisdWGil+kwEXFfBX8H/GqzH+2/hYme8+WtB Z4X5hq/78bw31uAxCAubTLnz3weDEPmukqeKc=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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@xxxxxxxxx>
Hello,

Thank you so much for the reply =)

I will confirm it myself soon.

2009/5/26 Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>

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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.