]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: add struct kvm_vmx to hold VMX specific KVM vars
authorSean Christopherson <sean.j.christopherson@intel.com>
Tue, 20 Mar 2018 19:17:20 +0000 (12:17 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 23 Mar 2018 17:32:03 +0000 (18:32 +0100)
commit684d123ac086ba13efd5292a5c904a21a6448721
treecc9acff593badf35bcc08859a20105d2d252d2d4
parent1143bc3d7003a467c197e4c4aeb79357dae286cc
KVM: VMX: add struct kvm_vmx to hold VMX specific KVM vars

Add struct kvm_vmx, which wraps struct kvm, and a helper to_kvm_vmx()
that retrieves 'struct kvm_vmx *' from 'struct kvm *'.  Move the VMX
specific variables out of kvm_arch and into kvm_vmx.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/vmx.c