]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: VMX: Move eVMCS code to dedicated files
authorSean Christopherson <sean.j.christopherson@intel.com>
Mon, 3 Dec 2018 21:53:06 +0000 (13:53 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Dec 2018 13:00:06 +0000 (14:00 +0100)
commit75edce8a45486fe5fa5becdb43a7c36354b2a379
treecf07c5d0a4e8b4eb9dccfbb4cc59f3e1bc3ab8bd
parent8373d25d25d14fe644feae007c15a5a10cf8e888
KVM: VMX: Move eVMCS code to dedicated files

The header, evmcs.h, already exists and contains a fair amount of code,
but there are a few pieces in vmx.c that can be moved verbatim.  In
addition, move an array definition to evmcs.c to prepare for multiple
consumers of evmcs.h.

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