Skip to content

KVM: gmem: Adding hooks for SEV and TDX

[email protected] kvm linux-coco lkml oe-kbuild-all 1 version Applied

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

  1. v1 Latest8 patches 16 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/8KVM: gmem: Make kvm_gmem_bind return EBADF on wrong fdvirt/kvm/guest_mem.c+1 -10 replies
2/8KVM: gmem: removed duplicated kvm_gmem_init()virt/kvm/kvm_main.c+0 -10 replies
3/8KVM: gmem: Fix kvm_gmem_issue_arch_invalidate()virt/kvm/guest_mem.c+1 -11 reply
4/8KVM: gmem: protect kvm_mmu_invalidate_end()virt/kvm/kvm_main.c+14 -110 replies
5/8KVM: gmem, x86: Add gmem hook for initializing private memoryarch/x86/include/asm/kvm-x86-ops.h arch/x86/include/asm/kvm_host.h arch/x86/kvm/mmu/mmu.c+14 -21 reply
6/8KVM: gmem, x86: Add gmem hook for invalidating private memoryarch/x86/include/asm/kvm-x86-ops.h arch/x86/include/asm/kvm_host.h arch/x86/kvm/x86.c +2 more+53 -02 replies
7/8KVM: gmem: Avoid race with kvm_gmem_release and mmu notifiervirt/kvm/kvm_main.c+7 -01 reply
8/8RFC: KVM: gmem: Guarantee the order of destructioninclude/linux/kvm_host.h virt/kvm/kvm_main.c+46 -10 replies

Reviews trailers per patch

2 of 8 patches have a Reviewed-by or Acked-by.

PatchJarkko Sakkinen
1/8
2/8
3/8
4/8A-b
5/8A-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.

Read the v1 thread

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