public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: kvm@vger.kernel.org
Subject: [Bug 207551] unable to handle kernel paging request for VMX
Date: Mon, 04 May 2020 17:08:21 +0000	[thread overview]
Message-ID: <bug-207551-28872-CSaG1fmToc@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-207551-28872@https.bugzilla.kernel.org/>

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.

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"
                "xor %%edi, %%edi \n\t"

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

  parent reply	other threads:[~2020-05-04 17:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-02 23:28 [Bug 207551] New: unable to handle kernel paging request for VMX bugzilla-daemon
2020-05-04 16:20 ` [Bug 207551] " bugzilla-daemon
2020-05-04 17:08 ` bugzilla-daemon [this message]
2020-05-07  9:27 ` bugzilla-daemon
2020-05-14 10:29 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-207551-28872-CSaG1fmToc@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox