]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuProcessStartManagedPRDaemon: Don't pass -f pidfile to the daemon
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 13 Mar 2020 14:57:24 +0000 (15:57 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 24 Mar 2020 14:53:03 +0000 (15:53 +0100)
commita02c589886d5e1e03ab5ac3380743a894a7ad8a1
tree70e242b81a661bb83cbd7c767bdb7b3fdff64fa3
parentd146105f1e4a9e0ab179f0b78c070ea38b9d5334
qemuProcessStartManagedPRDaemon: Don't pass -f pidfile to the daemon

Now, that our virCommandSetPidFile() is more intelligent we don't
need to rely on the daemon to create and lock the pidfile and use
virCommandSetPidFile() at the same time.

NOTE that as advertised in the previous commit, this was
temporarily broken, because both virCommand and
qemuProcessStartManagedPRDaemon() would try to lock the pidfile.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
src/qemu/qemu_process.c