KVM: SEV: Bug fix, cleanups and enhancements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | KVM: SEV: Disallow COPY_ENC_CONTEXT_FROM if target has created vCPUsarch/ | +6 | 2 replies | |
| 2/6 | KVM: SEV: Explicitly document that there are no TOCTOU races in copy ASIDarch/ | +16 | 1 reply | |
| 3/6 | KVM: SEV: Set sev_info.active after initial checks in sev_guest_init()arch/ | +3 | 0 replies | |
| 4/6 | KVM: SEV: WARN if SEV-ES is marked active but SEV is notarch/ | +1 | 0 replies | |
| 5/6 | KVM: SEV: Drop a redundant setting of sev->asid during initializationarch/ | +0 | 0 replies | |
| 6/6 | KVM: SEV: Fix typo in and tweak name of cmd_allowed_from_miror()arch/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] KVM: SEV: Bug fix, cleanups and enhancements
Bug fix for COPY_ENC_CONTEXT_FROM that IIRC is very belated feedback (git says its been sitting in my local repo since at least early September).
The other patches are tangentially related cleanups and enhancements for the SEV and SEV-ES info, e.g. active flag, ASID, etc...
Booted an SEV guest, otherwise it's effectively all compile-tested only.
Sean Christopherson (6):
KVM: SEV: Disallow COPY_ENC_CONTEXT_FROM if target has created vCPUs
KVM: SEV: Explicitly document that there are no TOCTOU races in copy
ASID
KVM: SEV: Set sev_info.active after initial checks in sev_guest_init()
KVM: SEV: WARN if SEV-ES is marked active but SEV is not
KVM: SEV: Drop a redundant setting of sev->asid during initialization
KVM: SEV: Fix typo in and tweak name of cmd_allowed_from_miror()
arch/x86/kvm/svm/sev.c | 42 +++++++++++++++++++++++++++--------------- arch/x86/kvm/svm/svm.h | 2 +- 2 files changed, 28 insertions(+), 16 deletions(-)
Signature · 1 line
2.34.0.rc0.344.g81b53c2807-goog