WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: 정희동 <heedongj@xxxxxxxxx>
Subject: Re: [Xen-devel] xen-detect.c question.
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=0v4z6nlYwrHRrzdkehxPqU0hVxnOFKFJAQVQVSAcXm8=; b=wM/syl2pggJMADMM9BaE4Hk1ISBTYgeoPv/hZw5Wa3ts/425JxGQJpuoL/WA2ddJGT +U+JTTKWLq+AmcpGslT24g/aFyah22wNYWEMI1wEZbokyFarsJ6JPjT02aT5aK4WSt4P n8GPTjbOss/0cP0D8JHj0mEeZddGvfMD1imlM=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <aa63efcf0905261059o7f2ab247sd861e2715da4f329@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <aa63efcf0905252049q19995b42jd02823d7839d630c@xxxxxxxxxxxxxx> <4A1BFEB8.4000102@xxxxxxxxxxxxxx> <aa63efcf0905261059o7f2ab247sd861e2715da4f329@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>