]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: hotplug: Reject VFIO hotplug if setting RLIMIT_MEMLOCK fails
authorPeter Krempa <pkrempa@redhat.com>
Mon, 9 Nov 2015 12:44:29 +0000 (13:44 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 10 Nov 2015 08:34:36 +0000 (09:34 +0100)
commitbaf55e1fa41a6aa77a5373891d70947ef24acadd
treef88b1650f8a6bb5616ec4d77633ad59debaca4e3
parentec90b34acf7cf7d06a63908c39e21b63382a1967
qemu: hotplug: Reject VFIO hotplug if setting RLIMIT_MEMLOCK fails

Check the return value of virCommandSetMaxMemLock when hotplugging VFIO
PCI hostdevs and reject the hotplug if the memory limit can't be set.
src/qemu/qemu_hotplug.c