All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@kernel.org
To: kvm@vger.kernel.org
Subject: [Bug 221841] KVM: nested VMX eVMCS VMPTRLD/VMPTRST causes infinite VM-Exit loop due to missing RIP advance
Date: Thu, 13 Aug 2026 17:51:49 +0000	[thread overview]
Message-ID: <bug-221841-28872-xYMBun87e7@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-221841-28872@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=221841

--- Comment #4 from vkuznets@redhat.com ---
(In reply to vkuznets from comment #2)

> Ideally, we can try and see what genuine Hyper-V gives us
> in this situation (by e.g. running an instrumented version of KVM there). It
> does not seem that we have an extreme urgency here so I can put it to my
> backlog and try to get to it some time next week -- unless someone beats me
> to it of course!

Tested on Azure. Apparently, VMPTRLD is completely unsupported and generates
#UD right away, no matter if I give it the same 'enlightened' address or
something else. VMPTRST, however, is different: before VMLAUNCH it gives us
0xffffffffffffffff even after we set a valid eVMCS pointer to the VP assist
page. This is (AFAIU) somewhat similar to the architectural behavior when we
execute VMPTRST with no current-VMCS pointer. After VMLAUNCH it works normally
and gives us the eVMCS pointer we used. I think it makes sense to mimic the
behavior in KVM.

-- 
You may reply to this email to add a comment.

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

      parent reply	other threads:[~2026-08-13 17:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-06  7:11 [Bug 221841] New: KVM: nested VMX eVMCS VMPTRLD/VMPTRST causes infinite VM-Exit loop due to missing RIP advance bugzilla-daemon
2026-08-06 14:01 ` Sean Christopherson
2026-08-06 14:01 ` [Bug 221841] " bugzilla-daemon
2026-08-07  9:17 ` bugzilla-daemon
2026-08-07 13:56   ` Sean Christopherson
2026-08-07 13:56 ` bugzilla-daemon
2026-08-13 17:51 ` bugzilla-daemon [this message]

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-221841-28872-xYMBun87e7@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@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 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.