mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-02 18:05:20 +00:00
qemu: monitor: remove destroy callback
It was added by commit c2121602 and later removed by 5a4c2374a Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
39ed30d4a1
commit
e0e72ce8bc
@ -233,8 +233,6 @@ qemuMonitorDispose(void *obj)
|
||||
|
||||
VIR_DEBUG("mon=%p", mon);
|
||||
qemuMonitorDisposed = true;
|
||||
if (mon->cb && mon->cb->destroy)
|
||||
(mon->cb->destroy)(mon, mon->vm, mon->callbackOpaque);
|
||||
virObjectUnref(mon->vm);
|
||||
|
||||
g_main_context_unref(mon->context);
|
||||
|
@ -363,7 +363,6 @@ typedef void (*qemuMonitorDomainMemoryFailureCallback)(qemuMonitor *mon,
|
||||
|
||||
typedef struct _qemuMonitorCallbacks qemuMonitorCallbacks;
|
||||
struct _qemuMonitorCallbacks {
|
||||
qemuMonitorDestroyCallback destroy;
|
||||
qemuMonitorEofNotifyCallback eofNotify;
|
||||
qemuMonitorErrorNotifyCallback errorNotify;
|
||||
qemuMonitorDomainEventCallback domainEvent;
|
||||
|
Loading…
x
Reference in New Issue
Block a user