lkml.org 
[lkml]   [2007]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 6/12] KVM: work around SMP requirement
    Date
    KVM is currently completely broken for the !CONFIG_SMP case.

    drivers/kvm/kvm_main.c: In function ‘kvm_flush_remote_tlbs’:
    drivers/kvm/kvm_main.c:220: error: implicit declaration of function ‘smp_call_function_mask’

    Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
    ---
    I hope the KVM maintainer can come up with a better solution...

    diff --git a/drivers/kvm/Kconfig b/drivers/kvm/Kconfig
    index 8749fa4..e35fbc6 100644
    --- a/drivers/kvm/Kconfig
    +++ b/drivers/kvm/Kconfig
    @@ -16,7 +16,7 @@ if VIRTUALIZATION

    config KVM
    tristate "Kernel-based Virtual Machine (KVM) support"
    - depends on X86 && EXPERIMENTAL
    + depends on X86 && EXPERIMENTAL && SMP
    select PREEMPT_NOTIFIERS
    select ANON_INODES
    ---help---
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/
    \
     
     \ /
      Last update: 2007-10-24 00:41    [W:0.018 / U:29.852 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site