doc: Fix multi-core amd example
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 21 Jul 2008 15:24:19 +0000 (16:24 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 21 Jul 2008 15:24:19 +0000 (16:24 +0100)
Signed-off-by: Jean Guyader <jean.guyader@eu.citrix.com>
tools/examples/xmexample.hvm
tools/examples/xmexample.hvm-stubdom

index fa805c823c9037ecbf3627b283554e432376d8d9..b681dcc67ed61985ffe84ef09be6d53c9a9cf932 100644 (file)
@@ -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 :
index e1cbee9ca5d1d7be2e0364eea7695fb92adda98f..06adbf7daf612d9e63ed7e7177336438fbb36f23 100644 (file)
@@ -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 :