[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH 11/15] kvm: Remove unneeded memory slot reservat
From: |
Alex Williamson |
Subject: |
[Qemu-devel] Re: [PATCH 11/15] kvm: Remove unneeded memory slot reservation |
Date: |
Mon, 07 Feb 2011 08:26:02 -0700 |
On Mon, 2011-02-07 at 12:19 +0100, Jan Kiszka wrote:
> 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 <address@hidden>
> CC: Alex Williamson <address@hidden>
> ---
> kvm-all.c | 4 ----
> 1 files changed, 0 insertions(+), 4 deletions(-)
Acked-by: Alex Williamson <address@hidden>
> diff --git a/kvm-all.c b/kvm-all.c
> index 802c6b8..14b6c1e 100644
> --- a/kvm-all.c
> +++ b/kvm-all.c
> @@ -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];
> }
[Qemu-devel] [PATCH 05/15] Refactor debug and vmstop request interface, Jan Kiszka, 2011/02/07
[Qemu-devel] [PATCH 10/15] kvm: x86: Catch and report failing IRQ and NMI injections, Jan Kiszka, 2011/02/07
[Qemu-devel] [PATCH 03/15] Fix a few coding style violations in cpus.c, Jan Kiszka, 2011/02/07
[Qemu-devel] [PATCH 01/15] Refactor kvm&tcg function names in cpus.c, Jan Kiszka, 2011/02/07