ia64/xen-unstable

changeset 18125:f95a37f2deab

doc: Fix multi-core amd example

Signed-off-by: Jean Guyader <jean.guyader@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Jul 21 16:24:19 2008 +0100 (2008-07-21)
parents f150da74abc3
children f528dd7fae7b
files tools/examples/xmexample.hvm tools/examples/xmexample.hvm-stubdom
line diff
     1.1 --- a/tools/examples/xmexample.hvm	Mon Jul 21 14:03:26 2008 +0100
     1.2 +++ b/tools/examples/xmexample.hvm	Mon Jul 21 16:24:19 2008 +0100
     1.3 @@ -247,12 +247,14 @@ serial='pty'
     1.4  #vcpus=8
     1.5  #
     1.6  # Example for amd, expose a 5-core processor :
     1.7 -# cpuid = ['1:ebx=xxxxxxxx00000001xxxxxxxxxxxxxxxx,
     1.8 +# cpuid = ['1:ebx=xxxxxxxx00001010xxxxxxxxxxxxxxxx,
     1.9  #             edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx',
    1.10 -# '0x80000008:ecx=xxxxxxxxxxxxxxxx0000xxxx00001010']
    1.11 -#  - CPUID.1[EBX] : (Thread * Cores ) per processors
    1.12 -#  - CPUID.1[EDX][HT] : Enable HT
    1.13 -#  - CPUID.0x80000008[ECX] : Number of vcpus * 2
    1.14 +# '0x80000001:ecx=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1x',
    1.15 +# '0x80000008:ecx=xxxxxxxxxxxxxxxxxxxxxxxxxx001001']
    1.16 +#   - CPUID.1[EBX] : Threads per Core * Cores per Socket (2 * #vcpus)
    1.17 +#   - CPUID.1[EDX][HT] : Enable HT
    1.18 +#   - CPUID.0x80000001[CmpLegacy] : Use legacy method
    1.19 +#   - CPUID.0x80000008[ECX] : #vcpus * 2 - 1
    1.20  #vcpus=5
    1.21  #
    1.22  #  Downgrade the cpuid to make a better compatibility for migration :
     2.1 --- a/tools/examples/xmexample.hvm-stubdom	Mon Jul 21 14:03:26 2008 +0100
     2.2 +++ b/tools/examples/xmexample.hvm-stubdom	Mon Jul 21 16:24:19 2008 +0100
     2.3 @@ -265,12 +265,14 @@ stdvga=0
     2.4  #vcpus=8
     2.5  #
     2.6  # Example for amd, expose a 5-core processor :
     2.7 -# cpuid = ['1:ebx=xxxxxxxx00000001xxxxxxxxxxxxxxxx,
     2.8 +# cpuid = ['1:ebx=xxxxxxxx00001010xxxxxxxxxxxxxxxx,
     2.9  #             edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx',
    2.10 -# '0x80000008:ecx=xxxxxxxxxxxxxxxx0000xxxx00001010']
    2.11 -#  - CPUID.1[EBX] : (Thread * Cores ) per processors
    2.12 -#  - CPUID.1[EDX][HT] : Enable HT
    2.13 -#  - CPUID.0x80000008[ECX] : Number of vcpus * 2
    2.14 +# '0x80000001:ecx=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1x',
    2.15 +# '0x80000008:ecx=xxxxxxxxxxxxxxxxxxxxxxxxxx001001']
    2.16 +#   - CPUID.1[EBX] : Threads per Core * Cores per Socket (2 * #vcpus)
    2.17 +#   - CPUID.1[EDX][HT] : Enable HT
    2.18 +#   - CPUID.0x80000001[CmpLegacy] : Use legacy method
    2.19 +#   - CPUID.0x80000008[ECX] : #vcpus * 2 - 1
    2.20  #vcpus=5
    2.21  #
    2.22  #  Downgrade the cpuid to make a better compatibility for migration :