]> git.ipfire.org Git - thirdparty/qemu.git/commit
vl: Conditionally register PID file unlink notifier
authorHanna Reitz <hreitz@redhat.com>
Thu, 9 Jun 2022 12:27:00 +0000 (14:27 +0200)
committerHanna Reitz <hreitz@redhat.com>
Tue, 12 Jul 2022 12:30:48 +0000 (14:30 +0200)
commiteed29d49ecc5d0db82b72538745223d09a54ee97
treeddedc0a155202a2b0f9e130bb22225a54aeb552f
parent9d8f8233b9fa525a7e37350fbc18877051128c5d
vl: Conditionally register PID file unlink notifier

Currently, the exit notifier for unlinking the PID file is registered
unconditionally.  Limit it to only when we actually do create a PID
file.

Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Message-Id: <20220609122701.17172-3-hreitz@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
softmmu/vl.c