From: Keir Fraser Date: Mon, 21 Jul 2008 15:24:19 +0000 (+0100) Subject: doc: Fix multi-core amd example X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14171^2~8 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5a932f3328d21908f76c682752c31556ad872df0;p=xen.git doc: Fix multi-core amd example Signed-off-by: Jean Guyader --- 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 :