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: Xen HVM cpuid problem

To: Christoph Egger <Christoph.Egger@xxxxxxx>, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: [Xen-devel] Re: Xen HVM cpuid problem
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 13 May 2008 13:56:00 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 13 May 2008 05:56:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200805131441.05576.Christoph.Egger@xxxxxxx>
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: Aci0+LFT8C3fviDrEd2MBgAX8io7RQ==
Thread-topic: Xen HVM cpuid problem
User-agent: Microsoft-Entourage/11.4.0.080122
All HVM guests receive a default configuration from libxc's
xc_cpuid_apply_policy(). You must update your tools if you have updated your
hypervisor to recent xen-unstable. Otherwise you will indeed get bogus CPUID
behaviour.

 -- Keir

On 13/5/08 13:41, "Christoph Egger" <Christoph.Egger@xxxxxxx> wrote:

> 
> Hi Keir,
> 
> For HVM guests, all cpuid Fn's going through domain_cpuid()
> iterate over the loop and then return 0 for all four registers.
> 
> Guests OS's and cpuid tools in HVM which query for
> cpuid Fn 0000.0000 %eax and 8000.0000 %eax, see the value 0 and think,
> Xen emulates oldish 386/486 CPUs.
> 
> This leads to strange boot failures, "your CPU does not support long mode"
> or "minimum required CPU is a 486DX CPU" when launching 32bit or 64bit HVM
> guests.
> 
> To reproduce this, cpuid is NOT explicitely configured
> in the guest config file.
> 
> BTW: Is there a reason for not handling cpuid in one central place?
> 
> Christoph
> 



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

<Prev in Thread] Current Thread [Next in Thread>