Re: [PATCH] virsh: Don't clear old connection if 'connect $uri' fails

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

 



On Wed, Apr 20, 2016 at 02:19:06PM -0400, Cole Robinson wrote:
   virsh # list --all
    Id    Name                           State
   ----------------------------------------------------
    1     test                           running

   virsh # connect frob
   error: Failed to connect to the hypervisor
   error: no connection driver available for frob

   virsh # list --all
   error: failed to connect to the hypervisor
   error: no valid connection
   error: no connection driver available for frob

Seems sensible IMO to just not clear out the old connection state
until the new virConnectOpen succeeds.


Makes sense, ACK.

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]