aboutsummaryrefslogtreecommitdiffstats
path: root/tools/examples
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-07-21 16:24:19 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-07-21 16:24:19 +0100
commit5a932f3328d21908f76c682752c31556ad872df0 (patch)
treea1efc5284a6738b9815a77b0f0cf6126467bd527 /tools/examples
parent518aee278066f4c8677b35332606caea1b1cbd57 (diff)
downloadxen-5a932f3328d21908f76c682752c31556ad872df0.tar.gz
xen-5a932f3328d21908f76c682752c31556ad872df0.tar.bz2
xen-5a932f3328d21908f76c682752c31556ad872df0.zip
doc: Fix multi-core amd example
Signed-off-by: Jean Guyader <jean.guyader@eu.citrix.com>
Diffstat (limited to 'tools/examples')
-rw-r--r--tools/examples/xmexample.hvm12
-rw-r--r--tools/examples/xmexample.hvm-stubdom12
2 files changed, 14 insertions, 10 deletions
diff --git a/tools/examples/xmexample.hvm b/tools/examples/xmexample.hvm
index fa805c823c..b681dcc67e 100644
--- a/tools/examples/xmexample.hvm
+++ b/tools/examples/xmexample.hvm
@@ -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 --git a/tools/examples/xmexample.hvm-stubdom b/tools/examples/xmexample.hvm-stubdom
index e1cbee9ca5..06adbf7daf 100644
--- a/tools/examples/xmexample.hvm-stubdom
+++ b/tools/examples/xmexample.hvm-stubdom
@@ -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 :