summaryrefslogtreecommitdiffstats
path: root/drivers/kvm/kvm.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-06-05 14:37:09 +0300
committerAvi Kivity <avi@qumranet.com>2007-07-16 12:05:46 +0300
commitef9254df0b3aeba729e26a062803ee7d90437b5e (patch)
treeb176b72cbe12a18541aa0b7fa059601bad33aad3 /drivers/kvm/kvm.h
parent120e9a453b5e7d9a708caff7d97b71fc4ccd59e8 (diff)
downloadkernel-crypto-ef9254df0b3aeba729e26a062803ee7d90437b5e.tar.gz
kernel-crypto-ef9254df0b3aeba729e26a062803ee7d90437b5e.tar.xz
kernel-crypto-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/kvm.h')
-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 3ec4e26b9bd..e665f550015 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