From: Tim Deegan Subject: [PATCH] CPUID: leaf 4 sub-index goes in %ecx, not %ebx Date: Wed, 15 Oct 2008 15:00:23 +0100 Message-ID: <20081015140023.GJ3780@york.uk.xensource.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="azLHFNyN32YCQGCU" Return-path: Content-Disposition: inline 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 --azLHFNyN32YCQGCU Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Signed-off-by: Tim Deegan --azLHFNyN32YCQGCU Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: attachment; filename=cpuid-ecx diff -r 61218a1763da xen/arch/x86/traps.c --- a/xen/arch/x86/traps.c Wed Oct 15 11:58:15 2008 +0100 +++ b/xen/arch/x86/traps.c Wed Oct 15 14:56:54 2008 +0100 @@ -710,7 +710,7 @@ static void pv_cpuid(struct cpu_user_reg if ( current->domain->domain_id != 0 ) { if ( !cpuid_hypervisor_leaves(a, &a, &b, &c, &d) ) - domain_cpuid(current->domain, a, b, &a, &b, &c, &d); + domain_cpuid(current->domain, a, c, &a, &b, &c, &d); goto out; } --azLHFNyN32YCQGCU 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 --azLHFNyN32YCQGCU--