[PATCH kvm-unit-tests] vmx: fix infinite loop on vmentry failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Broken by commit c76ddf062ecfc0b93c92f4006213888c487be92d
due to a copy-and-paste bug.

Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
---
 x86/vmx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x86/vmx.c b/x86/vmx.c
index 9422b43..ab3c2a4 100644
--- a/x86/vmx.c
+++ b/x86/vmx.c
@@ -1605,7 +1605,7 @@ static bool vmx_enter_guest(struct vmentry_failure *failure)
 		"pushf\n\t"
 		"pop %%rdi\n\t"
 		"mov %%rdi, %[failure_flags]\n\t"
-		"movl $1, %[failure_flags]\n\t"
+		"movl $1, %[failure_early]\n\t"
 		"jmp 3f\n\t"
 		"vmx_return:\n\t"
 		SAVE_GPR_C
-- 
1.8.3.1




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux