summaryrefslogtreecommitdiffstats
path: root/drivers/kvm
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-06-05 13:37:09 +0200
committerAvi Kivity <avi@qumranet.com>2007-07-16 11:05:46 +0200
commitef9254df0b3aeba729e26a062803ee7d90437b5e (patch)
treeb176b72cbe12a18541aa0b7fa059601bad33aad3 /drivers/kvm
parentKVM: Fix adding an smp virtual machine to the vm list (diff)
downloadlinux-ef9254df0b3aeba729e26a062803ee7d90437b5e.tar.xz
linux-ef9254df0b3aeba729e26a062803ee7d90437b5e.zip
KVM: Enable guest smp
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>
Diffstat (limited to 'drivers/kvm')
-rw-r--r--drivers/kvm/kvm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h
index 3ec4e26b9bd7..e665f5500159 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