virt-manager/virtman-init-viewer-on-reboot.patch

16 lines
555 B
Diff
Raw Normal View History

References: bsc#1191358
Index: virt-manager-3.2.0/virtManager/details/console.py
===================================================================
--- virt-manager-3.2.0.orig/virtManager/details/console.py
+++ virt-manager-3.2.0/virtManager/details/console.py
@@ -923,6 +923,8 @@ class vmmConsolePages(vmmGObjectUI):
return
cpage = self.widget("console-pages").get_current_page()
+ if cpage == _CONSOLE_PAGE_GRAPHICS:
+ self._init_viewer()
if cpage != _CONSOLE_PAGE_UNAVAILABLE:
return