diff mbox series

[Bug,207551] unable to handle kernel paging request for VMX

Message ID bug-207551-28872-CSaG1fmToc@https.bugzilla.kernel.org/ (mailing list archive)
State New, archived
Headers show
Series [Bug,207551] unable to handle kernel paging request for VMX | expand

Commit Message

bugzilla-daemon@bugzilla.kernel.org May 4, 2020, 5:08 p.m. UTC
https://bugzilla.kernel.org/show_bug.cgi?id=207551

--- Comment #2 from Sean Christopherson (sean.j.christopherson@intel.com) ---
Ugh, I forgot much of a trainwreck the inline VM-Enter asm blob was in 4.19. 
Fixing this isn't nearly as straightforward as it should be, i.e. it'll take a
while to get a proper patch sent.

In the meantime, you should be able to avoid this by deleting the zeroing of
%rcx, e.g.

                "xor %%edi, %%edi \n\t"
diff mbox series

Patch

diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index adccdee76520..79a2b64c5971 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -10864,7 +10864,6 @@  static void __noclone vmx_vcpu_run(struct kvm_vcpu
*vcpu)

                "xor %%eax, %%eax \n\t"
                "xor %%ebx, %%ebx \n\t"
-               "xor %%ecx, %%ecx \n\t"
                "xor %%edx, %%edx \n\t"
                "xor %%esi, %%esi \n\t"