[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[virt-tools-list] [PATCH 3 of 6] Show console if SPICE enabled



# HG changeset patch
# User Marc-André Lureau <marcandre lureau redhat com>
# Date 1289577948 -3600
# Node ID a72eb055da5dea83f320861f1148c3c5fe6781af
# Parent  7dc4cc7ae3ddf954d42907e537c5e30e64f7fece
Show console if SPICE enabled.

diff -r 7dc4cc7ae3dd -r a72eb055da5d src/virtManager/create.py
--- a/src/virtManager/create.py	Fri Nov 12 17:02:51 2010 +0100
+++ b/src/virtManager/create.py	Fri Nov 12 17:05:48 2010 +0100
@@ -1544,7 +1544,7 @@
         if self.config.get_console_popup() == 1:
             # user has requested console on new created vms only
             gtype = vm.get_graphics_console()[0]
-            if gtype == "vnc":
+            if gtype in ["vnc", "spice"]:
                 self.emit("action-show-console", self.conn.get_uri(),
                           guest.uuid)
             else:
diff -r 7dc4cc7ae3dd -r a72eb055da5d src/virtManager/manager.py
--- a/src/virtManager/manager.py	Fri Nov 12 17:02:51 2010 +0100
+++ b/src/virtManager/manager.py	Fri Nov 12 17:05:48 2010 +0100
@@ -729,7 +729,7 @@
         if self.config.get_console_popup() == 2 and not vm.is_management_domain():
             # user has requested consoles on all vms
             gtype = vm.get_graphics_console()[0]
-            if gtype == "vnc":
+            if gtype in ["vnc", "spice"]:
                 self.emit("action-show-console", uri, vmuuid)
             elif not connection.is_remote():
                 self.emit("action-show-terminal", uri, vmuuid)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]