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: [PATCH]: blacklist new AMD CPUID bits for PV domains

To: Andre Przywara <andre.przywara@xxxxxxx>
Subject: [Xen-devel] Re: [PATCH]: blacklist new AMD CPUID bits for PV domains
From: Keir Fraser <keir@xxxxxxx>
Date: Tue, 25 Jan 2011 14:56:28 +0000
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 25 Jan 2011 06:57:47 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:user-agent:date:subject:from:to:cc :message-id:thread-topic:thread-index:in-reply-to:mime-version :content-type:content-transfer-encoding; bh=oJ1dg7VLMjom6fDmh6ALSPIvXVR4+qUwsg2X/xirjhw=; b=GdOdXcAJ9nGgMc+XBkMUKz2Isa4jmZ1giFK/GhYP7TqrKvx34ZFbiVbtagv+LsFrrU tnUkudfbukHjPEcR/1foOxmtscYaQ0n4xxS8pg63s7tsLZ7LD5snvS39ynhnSH0XhQi2 N3weuId5/WqkLzZJsSvFw553jwaP+p2C5CNcM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=hReMbzDfC7IQF2fMzGCwfoJ6g9jCJAoed21OnJiJPmPSJtmdpxcAvRzMM8NojCdAbh X18N/0+Fbvlza7qsgu1srKQ6qkwOB9Fa3hmYm78R4hAeaoATZgxmDQjYSD4DIfAafEty lZ+C8XuUi9Yi3nbq3HKQbV/EBAO3LtL1SD3r0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D3EDABD.50202@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/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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acu8oAtEURNAD/IZ2EqvC4QadNskqg==
Thread-topic: [PATCH]: blacklist new AMD CPUID bits for PV domains
User-agent: Microsoft-Entourage/12.28.0.101117
On 25/01/2011 14:14, "Andre Przywara" <andre.przywara@xxxxxxx> wrote:

> Hi,
> 
> there are some new CPUID bits (and leaves) which Dom0 and PV domains
> should not see to avoid trouble, since we don't emulate the features.
> The most prominent one is a topology leaf, which contains information
> specific to the physical CPU, not the virtual one. To avoid confusion
> (and possibly crashes) due to a confused Dom0 scheduler simply disable
> these bits.
> 
> Signed-off-by: Andre Przywara <andre.przywara@xxxxxxx>

Andre,

You also need to mask these in tools/libxc/xc_cpuid_x86.c, right? The
hypervisor code you modify affects only dom0.

 -- Keir




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

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