mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 20:45:18 +00:00
qemu: Remove return value from qemuMonitorDomainGraphicsCallback
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
96d98a4b19
commit
b0487ba754
@ -190,19 +190,19 @@ typedef void (*qemuMonitorDomainIOErrorCallback)(qemuMonitor *mon,
|
||||
int action,
|
||||
const char *reason,
|
||||
void *opaque);
|
||||
typedef int (*qemuMonitorDomainGraphicsCallback)(qemuMonitor *mon,
|
||||
virDomainObj *vm,
|
||||
int phase,
|
||||
int localFamily,
|
||||
const char *localNode,
|
||||
const char *localService,
|
||||
int remoteFamily,
|
||||
const char *remoteNode,
|
||||
const char *remoteService,
|
||||
const char *authScheme,
|
||||
const char *x509dname,
|
||||
const char *saslUsername,
|
||||
void *opaque);
|
||||
typedef void (*qemuMonitorDomainGraphicsCallback)(qemuMonitor *mon,
|
||||
virDomainObj *vm,
|
||||
int phase,
|
||||
int localFamily,
|
||||
const char *localNode,
|
||||
const char *localService,
|
||||
int remoteFamily,
|
||||
const char *remoteNode,
|
||||
const char *remoteService,
|
||||
const char *authScheme,
|
||||
const char *x509dname,
|
||||
const char *saslUsername,
|
||||
void *opaque);
|
||||
typedef int (*qemuMonitorDomainBlockJobCallback)(qemuMonitor *mon,
|
||||
virDomainObj *vm,
|
||||
const char *diskAlias,
|
||||
|
@ -1039,7 +1039,7 @@ qemuProcessHandleJobStatusChange(qemuMonitor *mon G_GNUC_UNUSED,
|
||||
}
|
||||
|
||||
|
||||
static int
|
||||
static void
|
||||
qemuProcessHandleGraphics(qemuMonitor *mon G_GNUC_UNUSED,
|
||||
virDomainObj *vm,
|
||||
int phase,
|
||||
@ -1089,8 +1089,6 @@ qemuProcessHandleGraphics(qemuMonitor *mon G_GNUC_UNUSED,
|
||||
virObjectUnlock(vm);
|
||||
|
||||
virObjectEventStateQueue(driver->domainEventState, event);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
x
Reference in New Issue
Block a user