]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_passt: Remove passt socket file on exit
authorStefano Brivio <sbrivio@redhat.com>
Tue, 21 Feb 2023 19:19:07 +0000 (20:19 +0100)
committerLaine Stump <laine@redhat.com>
Wed, 22 Feb 2023 12:36:31 +0000 (07:36 -0500)
commitb7a18787de7c193dc68640668cc176ef9d887bc1
tree92f6fe5b3126e626699825fce764de21c79d4475
parent4938954ed38fff44b5a81e4a60d11da9b36b41a2
qemu_passt: Remove passt socket file on exit

Just like it can't remove its own PID files, passt can't unlink its
own socket upon exit (unless the initialisation fails), because it
has no access to the filesystem at runtime.

Remove the socket file in qemuPasstKill().

Fixes: a56f0168d576 ("qemu: hook up passt config to qemu domains")
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
src/qemu/qemu_passt.c