mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
tests: Learn qemuMonitorTestNew optional greeting
Currently, when creating a new mocked monitor, the greeting can't be chosen. This is crucial for next patches, because some info as qemu version is obtained in the greeting message. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
@@ -250,7 +250,7 @@ testQemuHotplug(const void *data)
|
||||
|
||||
/* Now is the best time to feed the spoofed monitor with predefined
|
||||
* replies. */
|
||||
if (!(test_mon = qemuMonitorTestNew(true, driver.xmlopt, vm, &driver)))
|
||||
if (!(test_mon = qemuMonitorTestNew(true, driver.xmlopt, vm, &driver, NULL)))
|
||||
goto cleanup;
|
||||
|
||||
tmp = test->mon;
|
||||
|
||||
Reference in New Issue
Block a user