]> git.ipfire.org Git - thirdparty/linux.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)
commit89b0c9f58350f6820f062ea12000e8a171177f3b
treefb16a10237cb096eb9ce234698e8e1a6a94c302d
parent75edce8a45486fe5fa5becdb43a7c36354b2a379
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