[virt-tools-list] [PATCH virt-install 1/2] Append '--attach' to virt-viewer for local display if spice gl enabled.

Marc-André Lureau mlureau at redhat.com
Wed May 4 09:40:06 UTC 2016


ack

----- Original Message -----
> Currently SPICE GL support is local-only, So it needs to attach to the
> local display.
> 
> Signed-off-by: Lin Ma <lma at suse.com>
> ---
>  virtinst/cli.py | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/virtinst/cli.py b/virtinst/cli.py
> index 8a3f6ae..cff1245 100644
> --- a/virtinst/cli.py
> +++ b/virtinst/cli.py
> @@ -423,6 +423,11 @@ def _gfx_console(guest):
>              "--connect", guest.conn.uri,
>              "--wait", guest.name]
>  
> +    # Currently virt-viewer needs attaching to the local display while
> +    # spice gl is enabled.
> +    if guest.has_gl():
> +        args.append("--attach")
> +
>      logging.debug("Launching virt-viewer for graphics type '%s'",
>          guest.get_devices("graphics")[0].type)
>      return _run_console(args)
> --
> 2.8.1
> 
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list at redhat.com
> https://www.redhat.com/mailman/listinfo/virt-tools-list
> 




More information about the virt-tools-list mailing list