[libvirt] The gui should drop the connection if libvirt stops for any reason like service libvirt stop.

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

 



diff -u virtManager/engine.py~ virtManager/engine.py
--- virtManager/engine.py~	2009-03-16 14:49:16.000000000 -0400
+++ virtManager/engine.py	2009-03-16 14:58:05.000000000 -0400
@@ -158,6 +158,7 @@
logging.error(("Could not refresh connection %s\n" % (uri)) + str(sys.exc_info()[0]) + \
                               " " + str(sys.exc_info()[1]) + "\n" + \
                               traceback.format_exc(sys.exc_info()[2]))
+                self.connections[uri]["connection"].close()
         return 1

     def change_timer_interval(self,ignore1,ignore2,ignore3,ignore4):

--
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]