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

Message ID bug-207551-28872-CSaG1fmToc@https.bugzilla.kernel.org/
State New
Headers show
  • [Bug,207551] unable to handle kernel paging request for VMX
Related show

Commit Message

bugzilla-daemon@bugzilla.kernel.org May 4, 2020, 5:08 p.m. UTC

--- 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

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

                "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"