[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/6 v3] KVM: x86: Fill in conforming {vmx|svm}_x86_ops and {vmx|s
From: |
Krish Sadhukhan |
Subject: |
[PATCH 0/6 v3] KVM: x86: Fill in conforming {vmx|svm}_x86_ops and {vmx|svm}_nested_ops via macros |
Date: |
Tue, 28 Jul 2020 00:10:44 +0000 |
v2 -> v3:
1. kvm_arch_hardware_unsetup() is changed to
kvm_arch_hardware_teardown() on non-x86 arches as well.
2. The following #defines
KVM_MEMORY_ENCRYPT_OP
KVM_MEMORY_ENCRYPT_REG_REGION
KVM_MEMORY_ENCRYPT_UNREG_REGION
have been changed to:
KVM_MEM_ENC_OP
KVM_MEM_ENC_REGISTER_REGION
KVM_MEM_ENC_UNREGISTER_REGION
3. Patch# 6 is new. It changes the KVM_MEMORY_ENCRYPT_* #defines in
QEMU to make them conformant to those in the kernel.
[PATCH 1/6 v3] KVM: x86: Change names of some of the kvm_x86_ops
[PATCH 2/6 v3] KVM: SVM: Fill in conforming svm_x86_ops via macro
[PATCH 3/6 v3] KVM: nSVM: Fill in conforming svm_nested_ops via macro
[PATCH 4/6 v3] KVM: VMX: Fill in conforming vmx_x86_ops via macro
[PATCH 5/6 v3] KVM: nVMX: Fill in conforming vmx_nested_ops via macro
[PATCH 6/6 v3] QEMU: x86: Change KVM_MEMORY_ENCRYPT_* #defines to make them
arch/arm64/include/asm/kvm_host.h | 2 +-
arch/mips/include/asm/kvm_host.h | 2 +-
arch/powerpc/include/asm/kvm_host.h | 2 +-
arch/s390/kvm/kvm-s390.c | 2 +-
arch/x86/include/asm/kvm_host.h | 12 +-
arch/x86/kvm/svm/avic.c | 4 +-
arch/x86/kvm/svm/nested.c | 18 +--
arch/x86/kvm/svm/sev.c | 6 +-
arch/x86/kvm/svm/svm.c | 218 +++++++++++++++++----------------
arch/x86/kvm/svm/svm.h | 8 +-
arch/x86/kvm/vmx/nested.c | 26 ++--
arch/x86/kvm/vmx/nested.h | 2 +-
arch/x86/kvm/vmx/vmx.c | 238 ++++++++++++++++++------------------
arch/x86/kvm/vmx/vmx.h | 2 +-
arch/x86/kvm/x86.c | 28 ++---
include/linux/kvm_host.h | 2 +-
include/uapi/linux/kvm.h | 6 +-
tools/include/uapi/linux/kvm.h | 6 +-
virt/kvm/kvm_main.c | 4 +-
19 files changed, 298 insertions(+), 290 deletions(-)
Krish Sadhukhan (5):
KVM: x86: Change names of some of the kvm_x86_ops functions to make them m
KVM: SVM: Fill in conforming svm_x86_ops via macro
KVM: nSVM: Fill in conforming svm_nested_ops via macro
KVM: VMX: Fill in conforming vmx_x86_ops via macro
KVM: nVMX: Fill in conforming vmx_nested_ops via macro
target/i386/sev.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Krish Sadhukhan (1):
QEMU: x86: Change KVM_MEMORY_ENCRYPT_* #defines to make them conformant t
- [PATCH 0/6 v3] KVM: x86: Fill in conforming {vmx|svm}_x86_ops and {vmx|svm}_nested_ops via macros,
Krish Sadhukhan <=
- [PATCH 1/6 v3] KVM: x86: Change names of some of the kvm_x86_ops functions to make them more semantical and readable, Krish Sadhukhan, 2020/07/27
- [PATCH 3/6 v3] KVM: nSVM: Fill in conforming svm_nested_ops via macro, Krish Sadhukhan, 2020/07/27
- [PATCH 5/6 v3] KVM: nVMX: Fill in conforming vmx_nested_ops via macro, Krish Sadhukhan, 2020/07/27
- [PATCH 2/6 v3] KVM: SVM: Fill in conforming svm_x86_ops via macro, Krish Sadhukhan, 2020/07/27
- [PATCH 6/6 v3] QEMU: x86: Change KVM_MEMORY_ENCRYPT_* #defines to make them conformant to the kernel, Krish Sadhukhan, 2020/07/27
- [PATCH 4/6 v3] KVM: VMX: Fill in conforming vmx_x86_ops via macro, Krish Sadhukhan, 2020/07/27