The 'retry' argument makes the monitor connection opening re-try the
connection in case the monitor socket doesn't exist or isn't properly
listening. In case of the test code this can't happen because the socket
is created and made listening in 'qemuMonitorCommonTestNew' which is
called prior to calling 'qemuMonitorOpen'.
We can thus avoit the code which attempts retries in monitor connection.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
test->qapischema = schema;
if (!(test->mon = qemuMonitorOpen(test->vm,
&src,
- true,
+ false,
virEventThreadGetContext(test->eventThread),
&qemuMonitorTestCallbacks)))
goto error;