]> xenbits.xensource.com Git - libvirt.git/commit
qemu: hotplug: Ignore cgroup errors when hot-unplugging vcpus
authorPeter Krempa <pkrempa@redhat.com>
Mon, 25 Sep 2017 20:34:44 +0000 (22:34 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 27 Sep 2017 06:51:45 +0000 (08:51 +0200)
commitcf30a8cabd5943992e30c45efdd5fd7b82dd53cc
treedeed62483294f734d146252e34b72fea640f5c58
parent01f86fb301a55c15c33dd02e6a7e2aac5ecad93d
qemu: hotplug: Ignore cgroup errors when hot-unplugging vcpus

When the vcpu is successfully removed libvirt would remove the cgroup.
In cases when removal of the cgroup fails libvirt would report an error.

This does not make much sense, since the vcpu was removed and we can't
really do anything with the cgroup. This patch silences the errors from
cgroup removal.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1462092
src/qemu/qemu_hotplug.c