[libvirt] [PATCH 3/4] libvirt-guests: Check if URI is reachable before launching commands

Eric Blake eblake at redhat.com
Wed Feb 29 03:02:47 UTC 2012

On 02/28/2012 11:00 AM, Peter Krempa wrote:
> This patch adds a check to the libvirt-guests script to check for the
> URI to be alive before attempting any calls. This avoids nasty error
> messages and allows us to fail gracefuly and continue on other URIs


> configured in the script.
> ---
>  tools/libvirt-guests.init.sh |   24 +++++++++++++++++++-----
>  1 files changed, 19 insertions(+), 5 deletions(-)


Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120228/41f1c218/attachment-0001.sig>

More information about the libvir-list mailing list