提交 3923d98e 编写于 作者: P Peter Krempa

qemu: Allow inactive domains in qemuDomainGetControlInfo()

Inactive domains can still be stuck in a job or other problems. Add a
way to detect it.
上级 31a55c7c
......@@ -2689,12 +2689,6 @@ qemuDomainGetControlInfo(virDomainPtr dom,
if (virDomainGetControlInfoEnsureACL(dom->conn, vm->def) < 0)
goto cleanup;
if (!virDomainObjIsActive(vm)) {
virReportError(VIR_ERR_OPERATION_INVALID,
"%s", _("domain is not running"));
goto cleanup;
}
priv = vm->privateData;
memset(info, 0, sizeof(*info));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册