[SRU][F][PATCH 0/6] Enable live migration under SEV

Khalid Elmously khalid.elmously at canonical.com
Tue Aug 9 07:17:57 UTC 2022


Backport the SEV live-migration feature, which was introduced in v5.16.

Tested by GCP and works as expected.



Ashish Kalra (4):
  KVM: X86: Introduce KVM_HC_MAP_GPA_RANGE hypercall
  EFI: Introduce the new AMD Memory Encryption GUID.
  x86/kvm: Add guest support for detecting and enabling SEV Live
    Migration feature.
  x86/kvm: Add kexec support for SEV Live Migration.

Brijesh Singh (2):
  x86/kvm: Add AMD SEV specific Hypercall3
  mm: x86: Invoke hypercall when page encryption status is changed

 Documentation/virt/kvm/api.txt        |  19 +++++
 Documentation/virt/kvm/cpuid.rst      |  11 ++-
 Documentation/virt/kvm/hypercalls.txt |  21 +++++
 Documentation/virt/kvm/msr.txt        |  12 +++
 arch/x86/include/asm/kvm_host.h       |   3 +
 arch/x86/include/asm/kvm_para.h       |  12 +++
 arch/x86/include/asm/mem_encrypt.h    |   4 +
 arch/x86/include/asm/paravirt.h       |   6 ++
 arch/x86/include/asm/paravirt_types.h |   1 +
 arch/x86/include/asm/set_memory.h     |   1 +
 arch/x86/include/uapi/asm/kvm_para.h  |  14 ++++
 arch/x86/kernel/kvm.c                 | 107 ++++++++++++++++++++++++++
 arch/x86/kernel/paravirt.c            |   1 +
 arch/x86/kvm/x86.c                    |  45 +++++++++++
 arch/x86/mm/mem_encrypt.c             |  72 ++++++++++++++---
 arch/x86/mm/pageattr.c                |   6 ++
 include/linux/efi.h                   |   1 +
 include/uapi/linux/kvm.h              |   1 +
 include/uapi/linux/kvm_para.h         |   1 +
 19 files changed, 327 insertions(+), 11 deletions(-)

-- 
2.32.0




More information about the kernel-team mailing list