mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 07:59:00 +00:00
qemu_agent: Drop destroy callback
After previous cleanups this callback is unused. Remove it. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
0a9cb29ba2
commit
e812213bc1
@ -28,8 +28,6 @@ typedef struct _qemuAgent qemuAgent;
|
||||
|
||||
typedef struct _qemuAgentCallbacks qemuAgentCallbacks;
|
||||
struct _qemuAgentCallbacks {
|
||||
void (*destroy)(qemuAgent *mon,
|
||||
virDomainObj *vm);
|
||||
void (*eofNotify)(qemuAgent *mon,
|
||||
virDomainObj *vm);
|
||||
void (*errorNotify)(qemuAgent *mon,
|
||||
|
@ -193,17 +193,8 @@ qemuProcessHandleAgentError(qemuAgent *agent G_GNUC_UNUSED,
|
||||
virObjectUnlock(vm);
|
||||
}
|
||||
|
||||
static void qemuProcessHandleAgentDestroy(qemuAgent *agent,
|
||||
virDomainObj *vm)
|
||||
{
|
||||
VIR_DEBUG("Received destroy agent=%p vm=%p", agent, vm);
|
||||
|
||||
virObjectUnref(vm);
|
||||
}
|
||||
|
||||
|
||||
static qemuAgentCallbacks agentCallbacks = {
|
||||
.destroy = qemuProcessHandleAgentDestroy,
|
||||
.eofNotify = qemuProcessHandleAgentEOF,
|
||||
.errorNotify = qemuProcessHandleAgentError,
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user