mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-04-01 20:05:19 +00:00
qemu: Remove return value from qemuMonitorDomainRTCChangeCallback
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
1b5097172b
commit
8ed88fe9a0
@ -175,10 +175,10 @@ typedef void (*qemuMonitorDomainStopCallback)(qemuMonitor *mon,
|
||||
typedef void (*qemuMonitorDomainResumeCallback)(qemuMonitor *mon,
|
||||
virDomainObj *vm,
|
||||
void *opaque);
|
||||
typedef int (*qemuMonitorDomainRTCChangeCallback)(qemuMonitor *mon,
|
||||
virDomainObj *vm,
|
||||
long long offset,
|
||||
void *opaque);
|
||||
typedef void (*qemuMonitorDomainRTCChangeCallback)(qemuMonitor *mon,
|
||||
virDomainObj *vm,
|
||||
long long offset,
|
||||
void *opaque);
|
||||
typedef int (*qemuMonitorDomainWatchdogCallback)(qemuMonitor *mon,
|
||||
virDomainObj *vm,
|
||||
int action,
|
||||
|
@ -745,7 +745,7 @@ qemuProcessHandleResume(qemuMonitor *mon G_GNUC_UNUSED,
|
||||
virObjectEventStateQueue(driver->domainEventState, event);
|
||||
}
|
||||
|
||||
static int
|
||||
static void
|
||||
qemuProcessHandleRTCChange(qemuMonitor *mon G_GNUC_UNUSED,
|
||||
virDomainObj *vm,
|
||||
long long offset,
|
||||
@ -785,7 +785,6 @@ qemuProcessHandleRTCChange(qemuMonitor *mon G_GNUC_UNUSED,
|
||||
virObjectUnlock(vm);
|
||||
|
||||
virObjectEventStateQueue(driver->domainEventState, event);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user