Currently SPICE GL support is local-only, So it needs to attach to the local display. Signed-off-by: Lin Ma <lma@xxxxxxxx> --- 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@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list