]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Check if the domain is active in virDomainObjGetPersistentDef
authorJán Tomko <jtomko@redhat.com>
Fri, 27 May 2016 11:33:04 +0000 (13:33 +0200)
committerJán Tomko <jtomko@redhat.com>
Mon, 6 Jun 2016 06:34:22 +0000 (08:34 +0200)
commit1dcb1dc0f99ac573ec593cd0ac631705df78ed34
tree7c04b0d2953d01b6dec0071a99d10706fb37ded7
parent9b111048ad9590b9be95cfb1720af0eed375d266
Check if the domain is active in virDomainObjGetPersistentDef

Calling virDomainObjSetDefTransient with live=false is a no-op
on an inactive domain.

Only call it on an active domain, since this is the only place using
the live bool.
src/conf/domain_conf.c