qemu-ppc
[Top][All Lists]
Advanced

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

Re: [Qemu-ppc] [PATCH] spapr: Don't create ibm, dynamic-reconfiguration-


From: Bharata B Rao
Subject: Re: [Qemu-ppc] [PATCH] spapr: Don't create ibm, dynamic-reconfiguration-memory w/o DR LMBs
Date: Wed, 20 Jan 2016 11:00:39 +0530
User-agent: Mutt/1.5.23 (2014-03-12)

On Tue, Jan 19, 2016 at 04:00:25PM +1100, David Gibson wrote:
> On Tue, Jan 19, 2016 at 10:09:21AM +0530, Bharata B Rao wrote:
> > If guest doesn't have any dynamically reconfigurable (DR) logical memory
> > blocks (LMB), then we shouldn't create ibm,dynamic-reconfiguration-memory
> > device tree node.
> > 
> > Signed-off-by: Bharata B Rao <address@hidden>
> > ---
> > This applies against ppc-for-2.6 branch of David Gibson's tree.
> 
> Applied to ppc-for-2.6, thanks.

There is a slight change in memory nodes representation in DT after this fix
that could result in the following behaviour before and after migration.

For a guest with -m 4G -numa node,nodeid=0,mem=2G -numa node,nodeid=1,mem=2G,
the DT under /proc/device-tree changes like this:

Guest started with QEMU w/o this fix
------------------------------------
address@hidden
address@hidden
ibm,dynamic-reconfiguration-memory

Guest migrated to QEMU w/ this fix included
-------------------------------------------
address@hidden
address@hidden
ibm,dynamic-reconfiguration-memory

After next reboot
-----------------
address@hidden
address@hidden

I guess this is ok, but wanted to sound out this change explicitly.

Regards,
Bharata.




reply via email to

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