[libvirt] [PATCH] qemuBuildCommandLine: Fall back to mem balloon if there's no hard_limit

2013-08-20 Thread Michal Privoznik
If there's no hard_limit set and domain uses VFIO we still must lock the guest memory (prerequisite from qemu). Hence, we should compute the amount to be locked from max_baloon. --- src/qemu/qemu_command.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git

Re: [libvirt] [PATCH] qemuBuildCommandLine: Fall back to mem balloon if there's no hard_limit

2013-08-20 Thread Eric Blake
On 08/20/2013 07:06 AM, Michal Privoznik wrote: If there's no hard_limit set and domain uses VFIO we still must lock the guest memory (prerequisite from qemu). Hence, we should compute the amount to be locked from max_baloon. s/baloon/balloon/ --- src/qemu/qemu_command.c | 15

Re: [libvirt] [PATCH] qemuBuildCommandLine: Fall back to mem balloon if there's no hard_limit

2013-08-20 Thread Ján Tomko
On 08/20/2013 03:06 PM, Michal Privoznik wrote: If there's no hard_limit set and domain uses VFIO we still must lock the guest memory (prerequisite from qemu). Hence, we should compute the amount to be locked from max_baloon. You forgot about the bookkeepers, didn't you? ---