]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Don't explicitly remove pidfile after virPidFileForceCleanupPath()
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 20 Feb 2020 10:46:24 +0000 (11:46 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 20 Feb 2020 11:57:19 +0000 (12:57 +0100)
commit74ec3f4d7d3f43249f131be9fb6c417289804955
tree3815509372b3db3239e2fbae93fa8e43c0d86613
parentac21e39faacc0ae4d68c9952c588918745135659
qemu: Don't explicitly remove pidfile after virPidFileForceCleanupPath()

In two places where virPidFileForceCleanupPath() is called, we
try to unlink() the pidfile again. This is needless because
virPidFileForceCleanupPath() has done just that.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_process.c
src/qemu/qemu_vhost_user_gpu.c