From: Paolo Bonzini <pbonzini@redhat.com>
To: James Houghton <jthoughton@google.com>,
Sean Christopherson <seanjc@google.com>
Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org
Subject: Re: [PATCH] KVM: x86/hyperv: do not overwrite hc->ingpa for slow SIGNAL_EVENT hypercall
Date: Tue, 22 Sep 2026 01:33:16 +0200 [thread overview]
Message-ID: <59a45f81-8cb2-4794-a529-eab72a45b93a@redhat.com> (raw)
In-Reply-To: <CADrL8HWS3SLqGfj0CrHhODscUq3fPdKd6Mg1M_53BFdFh4eLvw@mail.gmail.com>
On 9/22/26 01:23, James Houghton wrote:
>> James, how are you feeling about an early morning PUCK in the near future?
> No problems here; the 23rd is fine. The only day I can't do in the
> near-ish future is Oct 14. Thanks!
Great. To sum up what I would like to understand, this is it:
1) the overlap between memory protection attributes and kvm-userfault.
It seems to me that they are almost the same, but I may be wrong.
In particular, they are almost the same in that they are both
stop-and-retry interfaces, unlike userfaultfd which hides the
stop-and-retry behind a page fault and a stopped thread.
2) what strategy you have implemented, or you have in mind, to handle
stop-and-retry for code that does many consecutive memory accesses. The
main one is nested vmentry/vmexit. I have here some mostly untested
code that splits them into prepare/commit/cancel phases, but I haven't
dared posting it.
(Secondarily, we have a TDX-sized dependency between planes, memory
attributes, VBS, and kvm-userfault. That is probably something worth
discussing too, sooner or later).
Paolo
next prev parent reply other threads:[~2026-09-21 23:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-18 9:43 [PATCH] KVM: x86/hyperv: do not overwrite hc->ingpa for slow SIGNAL_EVENT hypercall Paolo Bonzini
2026-09-21 22:52 ` Sean Christopherson
2026-09-21 22:55 ` Paolo Bonzini
2026-09-21 23:01 ` Sean Christopherson
2026-09-21 23:02 ` Paolo Bonzini
2026-09-21 23:11 ` Sean Christopherson
2026-09-21 23:23 ` James Houghton
2026-09-21 23:33 ` Paolo Bonzini [this message]
2026-09-22 20:36 ` James Houghton
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=59a45f81-8cb2-4794-a529-eab72a45b93a@redhat.com \
--to=pbonzini@redhat.com \
--cc=jthoughton@google.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=seanjc@google.com \
/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.