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

Peter Krempa pkrempa at redhat.com
Wed Feb 29 11:56:40 UTC 2012


On 02/29/2012 04:02 AM, Eric Blake wrote:
> 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
>
> s/gracefuly/gracefully/
>
>> configured in the script.
>> ---
>>   tools/libvirt-guests.init.sh |   24 +++++++++++++++++++-----
>>   1 files changed, 19 insertions(+), 5 deletions(-)
>>
>
> ACK.

Thanks. I pushed patches 1,2 and 3 as they make sense without the last 
one and will send a fixed version soon.

Peter

>
>
>
>




More information about the libvir-list mailing list