lkml.org 
[lkml]   [2012]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] x86, hyper: fix build with !CONFIG_KVM_GUEST
    Date
    Signed-off-by: Avi Kivity <avi@redhat.com>
    ---
    arch/x86/kernel/cpu/hypervisor.c | 2 ++
    1 file changed, 2 insertions(+)

    diff --git a/arch/x86/kernel/cpu/hypervisor.c b/arch/x86/kernel/cpu/hypervisor.c
    index 6d6dd7a..a8f8fa9 100644
    --- a/arch/x86/kernel/cpu/hypervisor.c
    +++ b/arch/x86/kernel/cpu/hypervisor.c
    @@ -37,7 +37,9 @@
    #endif
    &x86_hyper_vmware,
    &x86_hyper_ms_hyperv,
    +#ifdef CONFIG_KVM_GUEST
    &x86_hyper_kvm,
    +#endif
    };

    const struct hypervisor_x86 *x86_hyper;
    --
    1.7.11.2


    \
     
     \ /
      Last update: 2012-07-18 11:21    [W:4.078 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site