]> git.baikalelectronics.ru Git - kernel.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)
commit0d51e6bfa0eaf8287a92aac536137c5a2bd537fb
treecf07c5d0a4e8b4eb9dccfbb4cc59f3e1bc3ab8bd
parent5615ca78a6b988ac72160e50a7bdc8bc08b69a86
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