mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-30 12:31:16 +00:00
libxl: move libxlDomainEventQueue to libxl_domain
Move libxlDomainEventQueue from libxl_driver to libxl_domain for use by other libxl modules. Signed-off-by: Jim Fehlig <jfehlig@suse.com>
This commit is contained in:
parent
3d4b4f5ac6
commit
62ad199cc8
@ -549,3 +549,9 @@ cleanup:
|
|||||||
VIR_FREE(log_file);
|
VIR_FREE(log_file);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
libxlDomainEventQueue(libxlDriverPrivatePtr driver, virObjectEventPtr event)
|
||||||
|
{
|
||||||
|
virObjectEventStateQueue(driver->domainEventState, event);
|
||||||
|
}
|
||||||
|
@ -91,4 +91,8 @@ libxlDomainObjEndJob(libxlDriverPrivatePtr driver,
|
|||||||
virDomainObjPtr obj)
|
virDomainObjPtr obj)
|
||||||
ATTRIBUTE_RETURN_CHECK;
|
ATTRIBUTE_RETURN_CHECK;
|
||||||
|
|
||||||
|
void
|
||||||
|
libxlDomainEventQueue(libxlDriverPrivatePtr driver,
|
||||||
|
virObjectEventPtr event);
|
||||||
|
|
||||||
#endif /* LIBXL_DOMAIN_H */
|
#endif /* LIBXL_DOMAIN_H */
|
||||||
|
@ -106,12 +106,6 @@ libxlDomObjFromDomain(virDomainPtr dom)
|
|||||||
return vm;
|
return vm;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
|
||||||
libxlDomainEventQueue(libxlDriverPrivatePtr driver, virObjectEventPtr event)
|
|
||||||
{
|
|
||||||
virObjectEventStateQueue(driver->domainEventState, event);
|
|
||||||
}
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
libxlAutostartDomain(virDomainObjPtr vm,
|
libxlAutostartDomain(virDomainObjPtr vm,
|
||||||
void *opaque)
|
void *opaque)
|
||||||
|
Loading…
Reference in New Issue
Block a user