[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[libvirt] The gui should drop the connection if libvirt stops for any reason like service libvirt stop.
- From: Daniel J Walsh <dwalsh redhat com>
- To: Cole Robinson <crobinso redhat com>, libvir-list redhat com
- Cc:
- Subject: [libvirt] The gui should drop the connection if libvirt stops for any reason like service libvirt stop.
- Date: Mon, 16 Mar 2009 14:59:11 -0400
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):
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]