]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuProcessQMPConnectMonitor: Connect to probing monitor with 'retry' set to false
authorPeter Krempa <pkrempa@redhat.com>
Tue, 2 Aug 2022 12:26:41 +0000 (14:26 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 3 Aug 2022 12:26:56 +0000 (14:26 +0200)
commit13320bf77effb24c316221a0c5a36553a58806fd
treedc645bf4cfd61a2060e76648107754a1627a6dae
parent7c849ad51898f4d94f33577eb0bf60beb11bf290
qemuProcessQMPConnectMonitor: Connect to probing monitor with 'retry' set to false

In 'qemuProcessQMPLaunch' qemu is very specifically launched using it's
internal '-daemonize' flag (see comment in the function) to ensure that
the monitor socket is ready and opened prior to attempting the monitor
connection.

This means we don't have to retry the connection to the monitor in
qemuMonitorOpen as the socket will be already there.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
src/qemu/qemu_process.c