[et-mgmt-tools] [PATCH] The gui should drop the connection if libvirt stops for any reason like service libvirt stop.

Daniel Veillard veillard at redhat.com
Tue Mar 17 10:27:49 UTC 2009


  Since it's about virt-manager, let's use the proper list to track
this. Also adding the [PATCH] suject keyword,

  It is also better to describe the patch in the email body rather
than a 2 line long subject and no inner description,

   thanks,

Daniel

On Mon, Mar 16, 2009 at 02:59:11PM -0400, Daniel J Walsh wrote:
> 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 at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the et-mgmt-tools mailing list