]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: Move VMX instruction wrappers to a dedicated header file
authorSean Christopherson <sean.j.christopherson@intel.com>
Mon, 3 Dec 2018 21:53:07 +0000 (13:53 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Dec 2018 16:17:27 +0000 (17:17 +0100)
commitc1fff3bfd2310f879119d5697f43143c6b3006f9
treefb16a10237cb096eb9ce234698e8e1a6a94c302d
parent0d51e6bfa0eaf8287a92aac536137c5a2bd537fb
KVM: VMX: Move VMX instruction wrappers to a dedicated header file

VMX has a few hundred lines of code just to wrap various VMX specific
instructions, e.g. VMWREAD, INVVPID, etc...  Move them to a dedicated
header so it's easier to find/isolate the boilerplate.

With this change, more inlines can be moved from vmx.c to vmx.h.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/ops.h [new file with mode: 0644]
arch/x86/kvm/vmx/vmx.c
arch/x86/kvm/vmx/vmx.h