]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: adjust the maxmemlock limit when hotplugging a vDPA device
authorLaine Stump <laine@redhat.com>
Fri, 21 May 2021 18:51:05 +0000 (14:51 -0400)
committerLaine Stump <laine@redhat.com>
Tue, 25 May 2021 14:08:03 +0000 (10:08 -0400)
commit97075dff5c4b42839787a5f6e6ee9bf73501d0a1
tree639a76f1c997613a8a0c64740ab78dbac99f044d
parent7b8bec45601b6570f6a7413e94d291986d2663f1
qemu: adjust the maxmemlock limit when hotplugging a vDPA device

and re-adjust if the hotplug fails.

This fixes a bug found during testing of
https://bugzilla.redhat.com/1939776, which was supposed to be resolved
by commit 98e22ff749, but failed to account for the case of device
hotplug.

Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_hotplug.c