KVM: VMX: Move VMCS definitions to dedicated file
authorSean Christopherson <sean.j.christopherson@intel.com>
Mon, 3 Dec 2018 21:53:04 +0000 (13:53 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Dec 2018 11:34:29 +0000 (12:34 +0100)
commitcb1d474b322550630841a58ea960a448fe8ddce3
treeffe51bcd931728965780d891073166cb77af10c0
parent2c4fd91d26643504011b7c2b75563a437e19d6a1
KVM: VMX: Move VMCS definitions to dedicated file

This isn't intended to be a pure reflection of hardware, e.g. struct
loaded_vmcs and struct vmcs_host_state are KVM-defined constructs.
Similar to capabilities.h, this is a standalone file to avoid circular
dependencies between yet-to-be-created vmx.h and nested.h files.

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