qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 03/11] pc: check if KVM has enough memory slots


From: Igor Mammedov
Subject: Re: [Qemu-devel] [PATCH 03/11] pc: check if KVM has enough memory slots for DIMM devices
Date: Mon, 3 Nov 2014 20:11:10 +0100

On Mon, 03 Nov 2014 18:32:51 +0100
Paolo Bonzini <address@hidden> wrote:

> 
> 
> On 03/11/2014 18:00, Igor Mammedov wrote:
> >> > This will always be off by 4 or so due to system RAM and ROM
> >> > slots.  I think patch 1 is enough.
> > The goal of this patch is to prevent starting guest with not
> > supported amount of lots requested on CLI with -m slots=too_much,
> > patch 1 won't prevent user from it.
> 
> Understood.  But I think -m slots=too_much is not an important
> problem. What is problematic is filling those slots, which patch 1
> will help with.

From user's pov it's still error, i.e. he asked on CLI for one amount
of hotpluggable slots and couldn't use all of them at runtime.

I think in addition to this patch we need QMP accessible parameter for
libvirt to tell limit, so that upper layers could tell user how many
slot it's possible to use. something like this:
 /machine/available_memory_slots


> 
> Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]