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,10 +262,10 @@ typedef void (*qemuMonitorDomainMigrationStatusCallback)(qemuMonitor *mon,
|
||||
int status,
|
||||
void *opaque);
|
||||
|
||||
typedef int (*qemuMonitorDomainMigrationPassCallback)(qemuMonitor *mon,
|
||||
virDomainObj *vm,
|
||||
int pass,
|
||||
void *opaque);
|
||||
typedef void (*qemuMonitorDomainMigrationPassCallback)(qemuMonitor *mon,
|
||||
virDomainObj *vm,
|
||||
int pass,
|
||||
void *opaque);
|
||||
|
||||
typedef int (*qemuMonitorDomainAcpiOstInfoCallback)(qemuMonitor *mon,
|
||||
virDomainObj *vm,
|
||||
|
@ -1639,7 +1639,7 @@ qemuProcessHandleMigrationStatus(qemuMonitor *mon G_GNUC_UNUSED,
|
||||
}
|
||||
|
||||
|
||||
static int
|
||||
static void
|
||||
qemuProcessHandleMigrationPass(qemuMonitor *mon G_GNUC_UNUSED,
|
||||
virDomainObj *vm,
|
||||
int pass,
|
||||
@ -1664,7 +1664,6 @@ qemuProcessHandleMigrationPass(qemuMonitor *mon G_GNUC_UNUSED,
|
||||
|
||||
cleanup:
|
||||
virObjectUnlock(vm);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user