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

[Xen-devel] Re: One question for CPUID for PV guest

To: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>, <jean.guyader@xxxxxxxxxxxxx>
Subject: [Xen-devel] Re: One question for CPUID for PV guest
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Wed, 28 May 2008 08:59:40 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Ke, Liping" <liping.ke@xxxxxxxxx>
Delivery-date: Wed, 28 May 2008 01:02:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <391BF3CDD2DC0848B40ACB72FA97AD59036EC60A@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcjAkzJ0+wyIMLTNRdGRToJH04c81gAAh3YiAAB01EAAAGkNFg==
Thread-topic: One question for CPUID for PV guest
User-agent: Microsoft-Entourage/11.4.0.080122
We'd have to keep a default policy at least for dom0 hardcoded in Xen.

 -- Xen

On 28/5/08 08:52, "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx> wrote:

> So how about dom0? Does that mean we need different handler for dom0/PV
> guest in emulate_forced_invalid_op()?
> 
> -- Yunhong Jiang
> 
> 
> Keir Fraser <mailto:keir.fraser@xxxxxxxxxxxxx> wrote:
>> There's no reason not to make PV CPUID similarly configurable.
>> 
>> -- Keir
>> 
>> On 28/5/08 08:19, "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx> wrote:
>> 
>>> Keir/Jean, I have one question for changeset 17524 "Guest CPUID
>>> configuration" (The URL is
>>> 
>> 
> http://xenbits.xensource.com/staging/xen-unstable.hg?rev/18727843db60).
>>> This changeset  do CPUID caculation in libxc. My question is, why
> don't
>>> we have such support for PV guest? Currently PV guest's CPUID
>>> virtualization is hardcoded in emulate_forced_invalid_op(), is it
>>> possible to do things like hvm domain?
>>> 
>>> Thanks
>>> Yunhong Jiang



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