mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
qemu: Remove return value from qemuMonitorDomainDumpCompletedCallback
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
4d01996633
commit
a55093ec28
@ -303,12 +303,12 @@ struct _qemuMonitorDumpStats {
|
||||
unsigned long long total; /* total bytes to be written */
|
||||
};
|
||||
|
||||
typedef int (*qemuMonitorDomainDumpCompletedCallback)(qemuMonitor *mon,
|
||||
virDomainObj *vm,
|
||||
int status,
|
||||
qemuMonitorDumpStats *stats,
|
||||
const char *error,
|
||||
void *opaque);
|
||||
typedef void (*qemuMonitorDomainDumpCompletedCallback)(qemuMonitor *mon,
|
||||
virDomainObj *vm,
|
||||
int status,
|
||||
qemuMonitorDumpStats *stats,
|
||||
const char *error,
|
||||
void *opaque);
|
||||
|
||||
typedef int (*qemuMonitorDomainPRManagerStatusChangedCallback)(qemuMonitor *mon,
|
||||
virDomainObj *vm,
|
||||
|
@ -1663,7 +1663,7 @@ qemuProcessHandleMigrationPass(qemuMonitor *mon G_GNUC_UNUSED,
|
||||
}
|
||||
|
||||
|
||||
static int
|
||||
static void
|
||||
qemuProcessHandleDumpCompleted(qemuMonitor *mon G_GNUC_UNUSED,
|
||||
virDomainObj *vm,
|
||||
int status,
|
||||
@ -1700,7 +1700,6 @@ qemuProcessHandleDumpCompleted(qemuMonitor *mon G_GNUC_UNUSED,
|
||||
cleanup:
|
||||
virResetLastError();
|
||||
virObjectUnlock(vm);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user