diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2011-02-07 12:19:22 +0100 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2011-02-14 12:39:46 -0200 |
commit | 8e045ac407029c004e31eb46b0586309d618fbbd (patch) | |
tree | aa3f1cfcf305c32c1be1bb930ee6ae9a948fa16d /kvm-all.c | |
parent | ce377af399563195d066d5fee0c7b717967932ee (diff) | |
download | qemu-8e045ac407029c004e31eb46b0586309d618fbbd.zip qemu-8e045ac407029c004e31eb46b0586309d618fbbd.tar.gz qemu-8e045ac407029c004e31eb46b0586309d618fbbd.tar.bz2 |
kvm: Remove unneeded memory slot reservation
The number of slots and the location of private ones changed several
times in KVM's early days. However, it's stable since 2.6.29 (our
required baseline), and slots 8..11 are no longer reserved since then.
So remove this unneeded restriction.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
CC: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'kvm-all.c')
-rw-r--r-- | kvm-all.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -91,10 +91,6 @@ static KVMSlot *kvm_alloc_slot(KVMState *s) int i; for (i = 0; i < ARRAY_SIZE(s->slots); i++) { - /* KVM private memory slots */ - if (i >= 8 && i < 12) { - continue; - } if (s->slots[i].memory_size == 0) { return &s->slots[i]; } |