OSDN Git Service

x86/kvm/nVMX: nested state migration for Enlightened VMCS
authorVitaly Kuznetsov <vkuznets@redhat.com>
Tue, 16 Oct 2018 16:50:09 +0000 (18:50 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Oct 2018 22:30:19 +0000 (00:30 +0200)
commit8cab6507f64eff0ccfea01fccbc7e3e05e2aaf7e
treed2fbccdfbddb062b027360c66c4b06c4d2da2c09
parent1e7ecd1b3d21a6302f3ee4a3720f682eb2467a3c
x86/kvm/nVMX: nested state migration for Enlightened VMCS

Add support for get/set of nested state when Enlightened VMCS is in use.
A new KVM_STATE_NESTED_EVMCS flag to indicate eVMCS on the vCPU was enabled
is added.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/uapi/asm/kvm.h
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c