mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-30 01:43:23 +00:00
qemu: Allow inactive domains in qemuDomainGetControlInfo()
Inactive domains can still be stuck in a job or other problems. Add a way to detect it.
This commit is contained in:
parent
31a55c7cb4
commit
3923d98e05
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user