All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH kvm-unit-tests] KVM: nVMX Verify that L2's CPUID(0xa) causes a VM-exit to L1.
@ 2016-12-21  0:28 Jim Mattson
  0 siblings, 0 replies; only message in thread
From: Jim Mattson @ 2016-12-21  0:28 UTC (permalink / raw)
  To: kvm; +Cc: Jim Mattson

Signed-off-by: Jim Mattson <jmattson@google.com>
---
 x86/vmx_tests.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x86/vmx_tests.c b/x86/vmx_tests.c
index 5fd9570..651852f 100644
--- a/x86/vmx_tests.c
+++ b/x86/vmx_tests.c
@@ -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"
-- 
2.8.0.rc3.226.g39d4020


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-12-21  0:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-21  0:28 [PATCH kvm-unit-tests] KVM: nVMX Verify that L2's CPUID(0xa) causes a VM-exit to L1 Jim Mattson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.