Re: [PATCH 9/9] Check for active domain in virDomainObjWait

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> ---
>  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
self-explanatory.

Peter

Attachment: signature.asc
Description: Digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]