mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
qemu: Do not pass unused opaque pointer to monitor callbacks
Signed-off-by: Jiri Denemark <jdenemar@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
@@ -298,8 +298,7 @@ testQemuHotplug(const void *data)
|
||||
|
||||
/* Now is the best time to feed the spoofed monitor with predefined
|
||||
* replies. */
|
||||
if (!(test_mon = qemuMonitorTestNew(driver.xmlopt, vm, &driver,
|
||||
NULL, NULL)))
|
||||
if (!(test_mon = qemuMonitorTestNew(driver.xmlopt, vm, NULL, NULL)))
|
||||
goto cleanup;
|
||||
|
||||
tmp = test->mon;
|
||||
|
||||
Reference in New Issue
Block a user