]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuDomainAttachHostPciDevice: Fall back to mem balloon if there's no hard_limit
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 26 Aug 2013 14:59:03 +0000 (16:59 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 26 Aug 2013 15:38:24 +0000 (17:38 +0200)
commita45ec678e9bbe8a6157cb440f334b5d21e40f0b4
tree946ba66a9c1169abe03679ff6679ba5d4f54d73b
parentb02fd24f18fae70d2599e594df724fa9e497bb1f
qemuDomainAttachHostPciDevice: 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_hotplug.c