提交 62ad199c 编写于 作者: J Jim Fehlig

libxl: move libxlDomainEventQueue to libxl_domain

Move libxlDomainEventQueue from libxl_driver to libxl_domain for
use by other libxl modules.
Signed-off-by: NJim Fehlig <jfehlig@suse.com>
上级 3d4b4f5a
......@@ -549,3 +549,9 @@ cleanup:
VIR_FREE(log_file);
return ret;
}
void
libxlDomainEventQueue(libxlDriverPrivatePtr driver, virObjectEventPtr event)
{
virObjectEventStateQueue(driver->domainEventState, event);
}
......@@ -91,4 +91,8 @@ libxlDomainObjEndJob(libxlDriverPrivatePtr driver,
virDomainObjPtr obj)
ATTRIBUTE_RETURN_CHECK;
void
libxlDomainEventQueue(libxlDriverPrivatePtr driver,
virObjectEventPtr event);
#endif /* LIBXL_DOMAIN_H */
......@@ -106,12 +106,6 @@ libxlDomObjFromDomain(virDomainPtr dom)
return vm;
}
static void
libxlDomainEventQueue(libxlDriverPrivatePtr driver, virObjectEventPtr event)
{
virObjectEventStateQueue(driver->domainEventState, event);
}
static int
libxlAutostartDomain(virDomainObjPtr vm,
void *opaque)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册