diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2018-12-04 00:52:55 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-12-14 14:34:23 +0300 |
commit | 3592cda6bc27fd6e73f73a6e793cbd0c09a07a36 (patch) | |
tree | 123d7e25fca9c955d60aed4f4093ccfd3790f904 | |
parent | 8ba2e525ecd7428e25d80f37c533612d62f2dc26 (diff) | |
download | linux-3592cda6bc27fd6e73f73a6e793cbd0c09a07a36.tar.xz |
KVM: x86: Add requisite includes to hyperv.h
Until this point vmx.c has been the only consumer and included the
file after many others. Prepare for multiple consumers, i.e. the
shattering of vmx.c
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r-- | arch/x86/kvm/hyperv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kvm/hyperv.h b/arch/x86/kvm/hyperv.h index 0e66c12ed2c3..9c21c3479899 100644 --- a/arch/x86/kvm/hyperv.h +++ b/arch/x86/kvm/hyperv.h @@ -24,6 +24,8 @@ #ifndef __ARCH_X86_KVM_HYPERV_H__ #define __ARCH_X86_KVM_HYPERV_H__ +#include <linux/kvm_host.h> + static inline struct kvm_vcpu_hv *vcpu_to_hv_vcpu(struct kvm_vcpu *vcpu) { return &vcpu->arch.hyperv; |