[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260206222829.3758171-1-sagis@google.com>
Date: Fri, 6 Feb 2026 22:28:27 +0000
From: Sagi Shahar <sagis@...gle.com>
To: Sean Christopherson <seanjc@...gle.com>, Paolo Bonzini <pbonzini@...hat.com>,
Dave Hansen <dave.hansen@...ux.intel.com>, Kiryl Shutsemau <kas@...nel.org>,
Rick Edgecombe <rick.p.edgecombe@...el.com>
Cc: Thomas Gleixner <tglx@...nel.org>, Borislav Petkov <bp@...en8.de>, "H. Peter Anvin" <hpa@...or.com>,
Michael Roth <michael.roth@....com>, Tom Lendacky <thomas.lendacky@....com>, x86@...nel.org,
kvm@...r.kernel.org, linux-kernel@...r.kernel.org, linux-coco@...ts.linux.dev,
Sagi Shahar <sagis@...gle.com>
Subject: [PATCH v3 0/2] Extend KVM_HC_MAP_GPA_RANGE api to allow retry
In some cases, userspace might decide to split MAP_GPA requests and
retry them the next time the guest runs. One common case is MAP_GPA
requests received right before intrahost migration when userspace
might decide to complete the request after the migration is complete
to reduce blackout time.
This is v3 of the series, v1[1] and v2[2] were posted as standalone
patches.
Changes from v2:
* Rebased on top of v6.19-rc8.
* Updated documentation.
* Restricted SNP error codes to match TDX restrictions.
[1] https://lore.kernel.org/kvm/20260114003015.1386066-1-sagis@google.com/
[2] https://lore.kernel.org/lkml/20260115225238.2837449-1-sagis@google.com/
Sagi Shahar (1):
KVM: SEV: Restrict userspace return codes for KVM_HC_MAP_GPA_RANGE
Vishal Annapurve (1):
KVM: TDX: Allow userspace to return errors to guest for MAPGPA
Documentation/virt/kvm/api.rst | 3 +++
arch/x86/kvm/svm/sev.c | 12 ++++++++++--
arch/x86/kvm/vmx/tdx.c | 15 +++++++++++++--
arch/x86/kvm/x86.h | 6 ++++++
4 files changed, 32 insertions(+), 4 deletions(-)
--
2.53.0.rc2.204.g2597b5adb4-goog
Powered by blists - more mailing lists