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>
void *opaque);
-typedef int (*qemuMonitorDomainBlockThresholdCallback)(qemuMonitor *mon,
- virDomainObj *vm,
- const char *nodename,
- unsigned long long threshold,
- unsigned long long excess,
- void *opaque);
+typedef void (*qemuMonitorDomainBlockThresholdCallback)(qemuMonitor *mon,
+ virDomainObj *vm,
+ const char *nodename,
+ unsigned long long threshold,
+ unsigned long long excess,
+ void *opaque);
typedef enum {
}
-static int
+static void
qemuProcessHandleBlockThreshold(qemuMonitor *mon G_GNUC_UNUSED,
virDomainObj *vm,
const char *nodename,
virObjectUnlock(vm);
virObjectEventStateQueue(driver->domainEventState, eventDevice);
virObjectEventStateQueue(driver->domainEventState, eventSource);
-
- return 0;
}