lkml.org 
[lkml]   [2007]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 50/58] KVM: Enable guest smp
    Date
    As we don't support guest tlb shootdown yet, this is only reliable
    for real-mode guests.

    Signed-off-by: Avi Kivity <avi@qumranet.com>
    ---
    drivers/kvm/kvm.h | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h
    index 3ec4e26..e665f55 100644
    --- a/drivers/kvm/kvm.h
    +++ b/drivers/kvm/kvm.h
    @@ -55,7 +55,7 @@
    #define INVALID_PAGE (~(hpa_t)0)
    #define UNMAPPED_GVA (~(gpa_t)0)

    -#define KVM_MAX_VCPUS 1
    +#define KVM_MAX_VCPUS 4
    #define KVM_ALIAS_SLOTS 4
    #define KVM_MEMORY_SLOTS 4
    #define KVM_NUM_MMU_PAGES 1024
    --
    1.5.0.6
    -
    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-06-17 12:01    [W:3.540 / U:0.448 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site