Re: [libvirt] [PATCHv2 5/7] qemu: command: Add helper to align memory sizes

2015-02-26 Thread Martin Kletzander
On Wed, Feb 25, 2015 at 11:22:04AM +0100, 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

[libvirt] [PATCHv2 5/7] qemu: command: Add helper to align memory sizes

2015-02-24 Thread Peter Krempa
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. --- Notes: Version 2: