mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
qemu: Remove return value from qemuMonitorDomainMigrationPassCallback
Change the callback prototype and fix the callback registered in the process code. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
a4e654f988
commit
5e7d9542ec
@ -262,7 +262,7 @@ typedef void (*qemuMonitorDomainMigrationStatusCallback)(qemuMonitor *mon,
|
|||||||
int status,
|
int status,
|
||||||
void *opaque);
|
void *opaque);
|
||||||
|
|
||||||
typedef int (*qemuMonitorDomainMigrationPassCallback)(qemuMonitor *mon,
|
typedef void (*qemuMonitorDomainMigrationPassCallback)(qemuMonitor *mon,
|
||||||
virDomainObj *vm,
|
virDomainObj *vm,
|
||||||
int pass,
|
int pass,
|
||||||
void *opaque);
|
void *opaque);
|
||||||
|
@ -1639,7 +1639,7 @@ qemuProcessHandleMigrationStatus(qemuMonitor *mon G_GNUC_UNUSED,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static int
|
static void
|
||||||
qemuProcessHandleMigrationPass(qemuMonitor *mon G_GNUC_UNUSED,
|
qemuProcessHandleMigrationPass(qemuMonitor *mon G_GNUC_UNUSED,
|
||||||
virDomainObj *vm,
|
virDomainObj *vm,
|
||||||
int pass,
|
int pass,
|
||||||
@ -1664,7 +1664,6 @@ qemuProcessHandleMigrationPass(qemuMonitor *mon G_GNUC_UNUSED,
|
|||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
virObjectUnlock(vm);
|
virObjectUnlock(vm);
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user