Skip to contentSkip to conversation

KVM: nVMX Verify that L2's CPUID(0xa) causes a VM-exit to L1.

PATCH New Jim Mattson 1 participant 1 message Dec 21, 2016 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 KVM: nVMX Verify that L2's CPUID(0xa) causes a VM-exit to L1.

---
 x86/vmx_tests.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
x86/vmx_tests.c +1 -1
index 5fd9570..651852f 100644
@@ -744,7 +744,7 @@ asm(
 	"insn_monitor: monitor;ret\n\t"
 	"insn_pause: pause;ret\n\t"
 	"insn_wbinvd: wbinvd;ret\n\t"
-	"insn_cpuid: cpuid;ret\n\t"
+	"insn_cpuid: mov $10, %eax; cpuid;ret\n\t"
 	"insn_invd: invd;ret\n\t"
 	"insn_sgdt: sgdt gdt64_desc;ret\n\t"
 	"insn_lgdt: lgdt gdt64_desc;ret\n\t"
Signature · 1 line
2.8.0.rc3.226.g39d4020