[libvirt] [PATCH 9/9] Check for active domain in virDomainObjWait

Peter Krempa pkrempa at redhat.com
Fri Feb 19 12:58:16 UTC 2016

On Tue, Feb 16, 2016 at 15:37:01 +0100, Jiri Denemark wrote:
> 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 at redhat.com>
> ---
>  src/conf/domain_conf.c | 7 +++++++
>  1 file changed, 7 insertions(+)

ACK, currently all the users expect the VM to be active at this point.
Since the code of the function is short enough the behaviour is

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160219/4233dd1e/attachment-0001.sig>

More information about the libvir-list mailing list