mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 20:45:18 +00:00
qemu: Remove return value from qemuMonitorDomainMigrationStatusCallback
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
1ee09b5d4b
commit
a4e654f988
@ -257,10 +257,10 @@ typedef void (*qemuMonitorDomainSpiceMigratedCallback)(qemuMonitor *mon,
|
||||
virDomainObj *vm,
|
||||
void *opaque);
|
||||
|
||||
typedef int (*qemuMonitorDomainMigrationStatusCallback)(qemuMonitor *mon,
|
||||
virDomainObj *vm,
|
||||
int status,
|
||||
void *opaque);
|
||||
typedef void (*qemuMonitorDomainMigrationStatusCallback)(qemuMonitor *mon,
|
||||
virDomainObj *vm,
|
||||
int status,
|
||||
void *opaque);
|
||||
|
||||
typedef int (*qemuMonitorDomainMigrationPassCallback)(qemuMonitor *mon,
|
||||
virDomainObj *vm,
|
||||
|
@ -1587,7 +1587,7 @@ qemuProcessHandleSpiceMigrated(qemuMonitor *mon G_GNUC_UNUSED,
|
||||
}
|
||||
|
||||
|
||||
static int
|
||||
static void
|
||||
qemuProcessHandleMigrationStatus(qemuMonitor *mon G_GNUC_UNUSED,
|
||||
virDomainObj *vm,
|
||||
int status,
|
||||
@ -1636,7 +1636,6 @@ qemuProcessHandleMigrationStatus(qemuMonitor *mon G_GNUC_UNUSED,
|
||||
cleanup:
|
||||
virObjectUnlock(vm);
|
||||
virObjectEventStateQueue(driver->domainEventState, event);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user