]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuBuildCommandLine: Fall back to mem balloon if there's no hard_limit
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 20 Aug 2013 12:53:22 +0000 (14:53 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 20 Aug 2013 13:16:07 +0000 (15:16 +0200)
commita7f94a40bb2554c56d0c6bea98a5843690dc3933
tree899adcacfa28c25054ada03c8535ecf4478ee276
parent94a24dd3a953f415596dd2800287c9010fa51c4c
qemuBuildCommandLine: Fall back to mem balloon if there's no hard_limit

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_balloon.
src/qemu/qemu_command.c