virt-manager/virtman-init-viewer-on-reboot.patch
Charles Arnold 5d5bc54482 - bsc#1191358 - The Virtual Machine Manager shows disconnected
after rebooting virtual machine in Xen mode in SLES15 SP3.
  virtman-init-viewer-on-reboot.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=549
2021-10-13 19:49:14 +00:00

16 lines
555 B
Diff

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