]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Check for active domain in virDomainObjWait
authorJiri Denemark <jdenemar@redhat.com>
Tue, 16 Feb 2016 09:49:26 +0000 (10:49 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 19 Feb 2016 14:41:57 +0000 (15:41 +0100)
commit5591ca502d7e74392184f19e367a0ab9f00a8646
treeb60c8b86aef812fe136fc5c8807ea6f346664250
parent81f50cb92d16643bcd749e3ab5b404b8b7cec643
Check for active domain in virDomainObjWait

virDomainObjWait is designed to be called in a loop. Make sure we break
the loop in case the domain dies to avoid waiting for an event which
will never happen.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/conf/domain_conf.c