[libvirt] [PATCH v2 3/3] qemu: hotplug: Reject VFIO hotplug if setting RLIMIT_MEMLOCK fails

2015-11-09 Thread Peter Krempa
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 | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/qemu/qemu_hotplug.c b/src/qemu/qemu_hotplug.c index

Re: [libvirt] [PATCH v2 3/3] qemu: hotplug: Reject VFIO hotplug if setting RLIMIT_MEMLOCK fails

2015-11-09 Thread John Ferlan
On 11/09/2015 07:50 AM, Peter Krempa wrote: > 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 | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > ACK John