Accepting request 282554 from home:cbosdonnat:branches:Virtualization

- bsc#909602 - virt-manager doesn't show text console for container
  when started from details page.
  activate-default-console.patch.

OBS-URL: https://build.opensuse.org/request/show/282554
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=218
This commit is contained in:
Cédric Bosdonnat 2015-01-23 14:19:51 +00:00 committed by Git OBS Bridge
parent f1f73ff14a
commit f7c19b8762
3 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,29 @@
From a1d3602b017e1145e6da03b23c99a3508bad4482 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= <cbosdonnat@suse.com>
Date: Fri, 23 Jan 2015 14:08:53 +0100
Subject: [PATCH] Activate the default console in all cases
If the Details page of a container is show when hitting the Run button,
switching back to the Console page, doesn't show the text console. By
updating the default console even if the Console page isn't show we
won't have this anymore.
---
virtManager/details.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/virtManager/details.py b/virtManager/details.py
index ddcacae..aa10912 100644
--- a/virtManager/details.py
+++ b/virtManager/details.py
@@ -1345,8 +1345,6 @@ class vmmDetails(vmmGObjectUI):
def activate_default_console_page(self):
pages = self.widget("details-pages")
- if pages.get_current_page() != DETAILS_PAGE_CONSOLE:
- return
self.console.activate_default_console_page()
# activate_* are called from engine.py via CLI options
--
2.1.2

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Jan 23 14:08:34 UTC 2015 - cbosdonnat@suse.com
- bsc#909602 - virt-manager doesn't show text console for container
when started from details page.
activate-default-console.patch.
-------------------------------------------------------------------
Fri Jan 16 09:40:12 MST 2015 - carnold@suse.com

View File

@ -83,6 +83,7 @@ Patch158: virtinst-xenbus-disk-index-fix.patch
Patch159: virtinst-refresh_before_fetch_pool.patch
Patch160: virtinst-ignore-error-403-on-directories.patch
Patch161: virt-manager-Gtk-30.patch
Patch162: activate-default-console.patch
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -208,6 +209,7 @@ machine).
%patch159 -p1
%patch160 -p1
%patch161 -p1
%patch162 -p1
%build
%if %{qemu_user}