KVM: gmem: Adding hooks for SEV and TDX
Status from this message: Applied patches 1 and 2 to kvm-x86 guest_memfd. I'll post the alternative
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | KVM: gmem: Make kvm_gmem_bind return EBADF on wrong fdvirt/ | +1 | 0 replies | |
| 2/8 | KVM: gmem: removed duplicated kvm_gmem_init()virt/ | +0 | 0 replies | |
| 3/8 | KVM: gmem: Fix kvm_gmem_issue_arch_invalidate()virt/ | +1 | 1 reply | |
| 4/8 | KVM: gmem: protect kvm_mmu_invalidate_end()virt/ | +14 | 10 replies | |
| 5/8 | KVM: gmem, x86: Add gmem hook for initializing private memoryarch/ arch/ arch/ | +14 | 1 reply | |
| 6/8 | KVM: gmem, x86: Add gmem hook for invalidating private memoryarch/ arch/ arch/ +2 more | +53 | 2 replies | |
| 7/8 | KVM: gmem: Avoid race with kvm_gmem_release and mmu notifiervirt/ | +7 | 1 reply | |
| 8/8 | RFC: KVM: gmem: Guarantee the order of destructioninclude/ virt/ | +46 | 0 replies |
Reviews trailers per patch
2 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Jarkko Sakkinen |
|---|---|
| 1/8 | |
| 2/8 | |
| 3/8 | |
| 4/8 | A-b |
| 5/8 | A-b |
| 6/8 | |
| 7/8 | |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/8] KVM: gmem: Adding hooks for SEV and TDX
From: Isaku Yamahata <[email protected]>
This patch series for KVM guest memfd is to have common code base for SEV and TDX. Several minor fixes. Based on this patch series, TDX KVM can defer page clearing without mmu lock.
Isaku Yamahata (6):
KVM: gmem: Make kvm_gmem_bind return EBADF on wrong fd
KVM: gmem: removed duplicated kvm_gmem_init()
KVM: gmem: Fix kvm_gmem_issue_arch_invalidate()
KVM: gmem: protect kvm_mmu_invalidate_end()
KVM: gmem: Avoid race with kvm_gmem_release and mmu notifier
RFC: KVM: gmem: Guarantee the order of destruction
Michael Roth (2):
KVM: gmem, x86: Add gmem hook for initializing private memory
KVM: gmem, x86: Add gmem hook for invalidating private memory
arch/x86/include/asm/kvm-x86-ops.h | 2 ++ arch/x86/include/asm/kvm_host.h | 4 +++ arch/x86/kvm/mmu/mmu.c | 12 ++++++-- arch/x86/kvm/x86.c | 6 ++++ include/linux/kvm_host.h | 27 ++++++++++++++++++ virt/kvm/guest_mem.c | 46 ++++++++++++++++++++++++++++-- virt/kvm/kvm_main.c | 46 ++++++++++++++++++++++++++++-- 7 files changed, 136 insertions(+), 7 deletions(-)
base-commit: 89b6a7b873d72280e85976bbb8fe4998b2ababa8
Signature · 1 line
2.25.1