virt-manager/virtman-connect-consoles-fix.diff

20 lines
794 B
Diff
Raw Normal View History

Subject: manager: Don't always launch consoles for running domains, dumb regression
From: Cole Robinson crobinso@redhat.com Fri Jan 21 14:43:19 2011 -0500
Date: Fri Jan 21 14:43:19 2011 -0500:
Git: ffb82a87f0587ef326becc80887ef8a806fbb0ec
Index: virt-manager-0.8.6/src/virtManager/manager.py
===================================================================
--- virt-manager-0.8.6.orig/src/virtManager/manager.py
+++ virt-manager-0.8.6/src/virtManager/manager.py
@@ -721,6 +721,7 @@ class vmmManager(vmmGObjectUI):
if (self.config.get_console_popup() != 2 or
vm.is_management_domain()):
self.emit("action-refresh-console", uri, vmuuid)
+ return
# user has requested consoles on all vms
gtype = vm.get_graphics_console()[0]