mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-23 04:55:18 +00:00
qemu: Remove return value from qemuMonitorDomainGuestPanicCallback
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
05a6da5862
commit
81db1e75b3
@ -234,7 +234,7 @@ typedef void (*qemuMonitorDomainBalloonChangeCallback)(qemuMonitor *mon,
|
||||
typedef void (*qemuMonitorDomainPMSuspendDiskCallback)(qemuMonitor *mon,
|
||||
virDomainObj *vm,
|
||||
void *opaque);
|
||||
typedef int (*qemuMonitorDomainGuestPanicCallback)(qemuMonitor *mon,
|
||||
typedef void (*qemuMonitorDomainGuestPanicCallback)(qemuMonitor *mon,
|
||||
virDomainObj *vm,
|
||||
qemuMonitorEventPanicInfo *info,
|
||||
void *opaque);
|
||||
|
@ -1268,7 +1268,7 @@ qemuProcessHandlePMSuspendDisk(qemuMonitor *mon G_GNUC_UNUSED,
|
||||
}
|
||||
|
||||
|
||||
static int
|
||||
static void
|
||||
qemuProcessHandleGuestPanic(qemuMonitor *mon G_GNUC_UNUSED,
|
||||
virDomainObj *vm,
|
||||
qemuMonitorEventPanicInfo *info,
|
||||
@ -1294,8 +1294,6 @@ qemuProcessHandleGuestPanic(qemuMonitor *mon G_GNUC_UNUSED,
|
||||
}
|
||||
|
||||
virObjectUnlock(vm);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user