]> 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)
commit8cc4bf31ff76e9fc4aa443b9ad344d0ef9baad07
treecc9acff593badf35bcc08859a20105d2d252d2d4
parentc360e8ce38435c562c21707ae8e0921f4343f7e8
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