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] VCPU cores & sockets

To: Ben Guthro <bguthro@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] VCPU cores & sockets
From: Jean Guyader <jean.guyader@xxxxxxxxxxxxx>
Date: Tue, 17 Jun 2008 16:57:58 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 17 Jun 2008 08:58:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4857DDA5.6090004@xxxxxxxxxxxxxxx>
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>
References: <4857CA93.5040604@xxxxxxxxxxxxxxx> <4857CDDD.8040601@xxxxxxxxxxxxx> <4857DDA5.6090004@xxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla-Thunderbird 2.0.0.14 (X11/20080509)
Ben Guthro wrote:
so...if I read your patch, and the intel manual properly -
CPUID.4:EAX[31:26] + 1 is the number of cores...

...
#           '4:eax=0x3,ebx=0x0,ecx=0x0,edx=0x0',
#  '0x80000000:eax=0x3,ebx=0x0,ecx=0x0,edx=0x0']
...

This would set the EAX of leaf 4 to 3 - indicating a dual core processor?

Am I understanding that config file correctly?


My previous patch has nothing to do with that.
What you are looking for is just above in this file.

--
Jean Guyader

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