From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean Guyader Subject: [PATCH] doc: Fix multi-core amd example Date: Mon, 21 Jul 2008 15:55:50 +0100 Message-ID: <4884A376.80205@eu.citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010809060204060701050207" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------010809060204060701050207 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit doc: Fix multi-core amd example Signed-off-by: Jean Guyader -- Jean Guyader --------------010809060204060701050207 Content-Type: text/plain; name="cpuid_example_cores_amd.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="cpuid_example_cores_amd.patch" 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 : --------------010809060204060701050207 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------010809060204060701050207--