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] [PATCH] doc: Fix multi-core amd example

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] doc: Fix multi-core amd example
From: Jean Guyader <jean.guyader@xxxxxxxxxxxxx>
Date: Mon, 21 Jul 2008 15:55:50 +0100
Delivery-date: Mon, 21 Jul 2008 07:57:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
User-agent: Mozilla-Thunderbird 2.0.0.14 (X11/20080509)

doc: Fix multi-core amd example

Signed-off-by: Jean Guyader <jean.guyader@xxxxxxxxxxxxx>

--
Jean Guyader
diff -r f150da74abc3 tools/examples/xmexample.hvm
--- a/tools/examples/xmexample.hvm      Mon Jul 21 14:03:26 2008 +0100
+++ b/tools/examples/xmexample.hvm      Mon Jul 21 15:51:13 2008 +0100
@@ -247,12 +247,14 @@ serial='pty'
 #vcpus=8
 #
 # Example for amd, expose a 5-core processor :
-# cpuid = ['1:ebx=xxxxxxxx00000001xxxxxxxxxxxxxxxx,
+# cpuid = ['1:ebx=xxxxxxxx00001010xxxxxxxxxxxxxxxx,
 #             edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx',
-# '0x80000008:ecx=xxxxxxxxxxxxxxxx0000xxxx00001010']
-#  - CPUID.1[EBX] : (Thread * Cores ) per processors
-#  - CPUID.1[EDX][HT] : Enable HT
-#  - CPUID.0x80000008[ECX] : Number of vcpus * 2
+# '0x80000001:ecx=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1x',
+# '0x80000008:ecx=xxxxxxxxxxxxxxxxxxxxxxxxxx001001']
+#   - CPUID.1[EBX] : Threads per Core * Cores per Socket (2 * #vcpus)
+#   - CPUID.1[EDX][HT] : Enable HT
+#   - CPUID.0x80000001[CmpLegacy] : Use legacy method
+#   - CPUID.0x80000008[ECX] : #vcpus * 2 - 1
 #vcpus=5
 #
 #  Downgrade the cpuid to make a better compatibility for migration :
diff -r f150da74abc3 tools/examples/xmexample.hvm-stubdom
--- a/tools/examples/xmexample.hvm-stubdom      Mon Jul 21 14:03:26 2008 +0100
+++ b/tools/examples/xmexample.hvm-stubdom      Mon Jul 21 15:51:13 2008 +0100
@@ -265,12 +265,14 @@ stdvga=0
 #vcpus=8
 #
 # Example for amd, expose a 5-core processor :
-# cpuid = ['1:ebx=xxxxxxxx00000001xxxxxxxxxxxxxxxx,
+# cpuid = ['1:ebx=xxxxxxxx00001010xxxxxxxxxxxxxxxx,
 #             edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx',
-# '0x80000008:ecx=xxxxxxxxxxxxxxxx0000xxxx00001010']
-#  - CPUID.1[EBX] : (Thread * Cores ) per processors
-#  - CPUID.1[EDX][HT] : Enable HT
-#  - CPUID.0x80000008[ECX] : Number of vcpus * 2
+# '0x80000001:ecx=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1x',
+# '0x80000008:ecx=xxxxxxxxxxxxxxxxxxxxxxxxxx001001']
+#   - CPUID.1[EBX] : Threads per Core * Cores per Socket (2 * #vcpus)
+#   - CPUID.1[EDX][HT] : Enable HT
+#   - CPUID.0x80000001[CmpLegacy] : Use legacy method
+#   - CPUID.0x80000008[ECX] : #vcpus * 2 - 1
 #vcpus=5
 #
 #  Downgrade the cpuid to make a better compatibility for migration :
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] doc: Fix multi-core amd example, Jean Guyader <=