Skip to content

KVM: GUEST_MEMFD fixes/restrictions

Sean Christopherson kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5KVM: Make KVM_MEM_GUEST_MEMFD mutually exclusive with KVM_MEM_READONLYvirt/kvm/kvm_main.c+7 -10 replies
2/5KVM: x86: Update KVM_SW_PROTECTED_VM docs to make it clear they're a WIPDocumentation/virt/kvm/api.rst arch/x86/kvm/Kconfig+9 -30 replies
3/5KVM: x86/mmu: Restrict KVM_SW_PROTECTED_VM to the TDP MMUarch/x86/kvm/x86.c+1 -10 replies
4/5KVM: selftests: Create GUEST_MEMFD for relevant invalid flags testcasestools/testing/selftests/kvm/set_memory_region_test.c+5 -10 replies
5/5KVM: selftests: Add a testcase to verify GUEST_MEMFD and READONLY are exclusivetools/testing/selftests/kvm/set_memory_region_test.c+6 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] KVM: GUEST_MEMFD fixes/restrictions

A few minor-ish fixes related to GUEST_MEMFD that I am hoping to squeeze into 6.8 as the they affect KVM's ABI (especially patch 1).

Sean Christopherson (5):
KVM: Make KVM_MEM_GUEST_MEMFD mutually exclusive with KVM_MEM_READONLY
KVM: x86: Update KVM_SW_PROTECTED_VM docs to make it clear they're a
WIP
KVM: x86/mmu: Restrict KVM_SW_PROTECTED_VM to the TDP MMU
KVM: selftests: Create GUEST_MEMFD for relevant invalid flags
testcases
KVM: selftests: Add a testcase to verify GUEST_MEMFD and READONLY are
exclusive

 Documentation/virt/kvm/api.rst                       |  5 +++++
 arch/x86/kvm/Kconfig                                 |  7 ++++---
 arch/x86/kvm/x86.c                                   |  2 +-
 tools/testing/selftests/kvm/set_memory_region_test.c | 12 +++++++++++-
 virt/kvm/kvm_main.c                                  |  8 +++++++-
 5 files changed, 28 insertions(+), 6 deletions(-)

base-commit: 21dbc438dde69ff630b3264c54b94923ee9fcdcf

Signature · 1 line
2.44.0.rc0.258.g7320e95886-goog