mirror of
https://github.com/xen-project/xen.git
synced 2026-10-30 03:00:05 +01:00
x86 cpuid: leaf 4 sub-index goes in %ecx, not %ebx
Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
This commit is contained in:
1 parent
ee3ce04ad4
commit
2a010416e0
1 file changed
+1
-1
@@ -710,7 +710,7 @@ static void pv_cpuid(struct cpu_user_regs *regs)
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||