[virt-tools-list] [virt-manager][PATCH ] Disable autoconnect when --show-* is specified.

Cole Robinson crobinso at redhat.com
Mon Jul 15 20:03:45 UTC 2013


On 07/13/2013 05:21 AM, Leonardo Garcia wrote:
> From: Leonardo Garcia <lagarcia at br.ibm.com>
> 
> ---
>  man/virt-manager.pod |    5 +++--
>  virt-manager         |    1 +
>  2 files changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/man/virt-manager.pod b/man/virt-manager.pod
> index 1565e63..8879d41 100644
> --- a/man/virt-manager.pod
> +++ b/man/virt-manager.pod
> @@ -46,8 +46,9 @@ Don't autostart any libvirt connections when launching C<virt-manager>.
>  
>  =item --show-DIALOG-WINDOW
>  
> -Display the corresponding C<DIALOG-WINDOW> when launching C<virt-manager>. The
> -manager window will not be shown at startup in this case.
> +Display the corresponding C<DIALOG-WINDOW> when launching C<virt-manager>. This
> +function implies --no-conn-autostart and the manager window will not be shown
> +at startup in this case.
>  
>  The following C<DIALOG-WINDOW> options are currently available:
>  
> diff --git a/virt-manager b/virt-manager
> index 7baf604..25a43b8 100755
> --- a/virt-manager
> +++ b/virt-manager
> @@ -281,6 +281,7 @@ def main():
>              return True
>          engine.uri_cb = cb
>          engine.show_manager_window = False
> +        engine.skip_autostart = True
>  
>  
>      # Finally start the app for real
> 

Thanks, I applied all 3.

- Cole




More information about the virt-tools-list mailing list