]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_cgroup.c: skip absent PCI devices in qemuTeardownHostdevCgroup()
authorDaniel Henrique Barboza <danielhb413@gmail.com>
Mon, 4 Jan 2021 12:54:39 +0000 (09:54 -0300)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Mon, 1 Mar 2021 15:25:33 +0000 (12:25 -0300)
commit67357e5094f662e6a943d421b2d7dcd494785c08
tree87ef1ae1fc4614783062a4d5991d9274c214cfcc
parenta8017c688275f7bfee5eb70e03bc9549c746ccdd
qemu_cgroup.c: skip absent PCI devices in qemuTeardownHostdevCgroup()

There is no need to bother with cgroup tearing down for absent
PCI devices, given that their entries in the sysfs are already
gone.

Reviewed-by: Laine Stump <laine@redhat.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
src/qemu/qemu_cgroup.c