Browse Source

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>
Izik Eidus 18 years ago
parent
commit
2e2c618dad
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/kvm/kvm.h

+ 1 - 1
drivers/kvm/kvm.h

@@ -39,7 +39,7 @@
 
 
 #define KVM_MAX_VCPUS 4
 #define KVM_MAX_VCPUS 4
 #define KVM_ALIAS_SLOTS 4
 #define KVM_ALIAS_SLOTS 4
-#define KVM_MEMORY_SLOTS 4
+#define KVM_MEMORY_SLOTS 8
 #define KVM_NUM_MMU_PAGES 1024
 #define KVM_NUM_MMU_PAGES 1024
 #define KVM_MIN_FREE_MMU_PAGES 5
 #define KVM_MIN_FREE_MMU_PAGES 5
 #define KVM_REFILL_PAGES 25
 #define KVM_REFILL_PAGES 25