[libvirt] [PATCH 12/13] qemu: ppc64: Align memory sizes to 256MiB blocks

Michal Privoznik mprivozn at redhat.com
Tue Sep 22 12:28:55 UTC 2015


On 21.09.2015 19:21, Peter Krempa wrote:
> For some machine types ppc64 machines now require that memory sizes are
> aligned to 256MiB increments (due to the dynamically reconfigurable
> memory). As now we treat existing configs reasonably in regards to
> migration, we can round all the sizes unconditionally. The only drawback
> will be that the memory size of a VM can potentially increase by
> (256MiB - 1byte) * number_of_NUMA_nodes.
> 
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1249006
> ---
> CC: David Gibson <dgibson at redhat.com>
> 
>  src/qemu/qemu_domain.c                                      | 7 ++++++-
>  tests/qemuxml2argvdata/qemuxml2argv-pseries-cpu-compat.args | 2 +-
>  2 files changed, 7 insertions(+), 2 deletions(-)

ACK

Michal




More information about the libvir-list mailing list