[libvirt] [PATCH 5/7] qemu: command: Add helper to align memory sizes
John Ferlan
jferlan at redhat.com
Fri Feb 20 15:17:20 UTC 2015
On 02/18/2015 09:16 AM, Peter Krempa wrote:
> The memory sizes in qemu are aligned up to 1 MiB boundaries. There are
> two places where this was done once for the total size and then for
> individual NUMA cell sizes.
>
> Add a function that will align the sizes in one place so that it's clear
> where the sizes are aligned.
> ---
> src/qemu/qemu_command.c | 7 +++----
> src/qemu/qemu_domain.c | 21 +++++++++++++++++++++
> src/qemu/qemu_domain.h | 2 ++
> 3 files changed, 26 insertions(+), 4 deletions(-)
>
ACK
John
More information about the libvir-list
mailing list