]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Reduce memlock limit after detaching PCI hostdev
authorAndrea Bolognani <abologna@redhat.com>
Wed, 18 Nov 2015 12:56:09 +0000 (13:56 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Thu, 17 Dec 2015 09:12:47 +0000 (10:12 +0100)
commitb583e80cb84a4fe87d01d036557bb64e36395359
treece824a78f7b4c0885a56a27456d9442cf9e41381
parent65909c79969921a44a98b3fda8ec157d42a74aea
qemu: Reduce memlock limit after detaching PCI hostdev

We increase the limit before plugging in a PCI hostdev or a memory
module because some memory might need to be locked due to eg. VFIO.

Of course we should do the opposite after unplugging a device: this
was already the case for memory modules, but not for PCI hostdevs.
src/qemu/qemu_hotplug.c