]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: VMX: Move capabilities structs and helpers to dedicated file
authorSean Christopherson <sean.j.christopherson@intel.com>
Mon, 3 Dec 2018 21:53:02 +0000 (13:53 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Dec 2018 11:34:28 +0000 (12:34 +0100)
commit3077c191088255932c9e3780d8c6a59f147b75b8
tree6a9ba8dce61a3eee35db81a1058a624468df5bd8
parent7caaa71108676944d60672b3446fadb6bcf29de4
KVM: VMX: Move capabilities structs and helpers to dedicated file

Defining a separate capabilities.h as opposed to putting this code in
e.g. vmx.h avoids circular dependencies between (the yet-to-be-added)
vmx.h and nested.h.  The aforementioned circular dependencies are why
struct nested_vmx_msrs also resides in capabilities instead of e.g.
nested.h.

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