summaryrefslogtreecommitdiffstats
path: root/drivers/kvm
diff options
context:
space:
mode:
authorIzik Eidus <izike@qumranet.com>2007-08-20 18:11:00 +0300
committerAvi Kivity <avi@qumranet.com>2007-10-13 10:18:24 +0200
commit2e2c618dad6d5768da4a891ff71fc1ca0cbd3fe0 (patch)
tree7fe724c27e9c3215266542db5141b5da972b5bc3 /drivers/kvm
parent33f5fa1664046208b890e9231a47e377fdfc7762 (diff)
downloadop-kernel-dev-2e2c618dad6d5768da4a891ff71fc1ca0cbd3fe0.zip
op-kernel-dev-2e2c618dad6d5768da4a891ff71fc1ca0cbd3fe0.tar.gz
KVM: Support more memory slots
Needed for mapping memory at 4GB. Signed-off-by: Izik Eidus <izike@qumranet.com> 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 2245bae..a42a6f3 100644
--- a/drivers/kvm/kvm.h
+++ b/drivers/kvm/kvm.h
@@ -39,7 +39,7 @@
#define KVM_MAX_VCPUS 4
#define KVM_ALIAS_SLOTS 4
-#define KVM_MEMORY_SLOTS 4
+#define KVM_MEMORY_SLOTS 8
#define KVM_NUM_MMU_PAGES 1024
#define KVM_MIN_FREE_MMU_PAGES 5
#define KVM_REFILL_PAGES 25
OpenPOWER on IntegriCloud