eb8a447ebc
Fix CDROM media change if device is bootable (bz #1229819) Fix adding iscsi pools (bz #1231558) spec: Add LXC to default connection list (bz #1235972) Fix backtrace when reporting OS error (bz #1241902) Raise upper limits for lxc ID namespaces (bz #1244490) Fix 'copy host CPU definition' Fix displaying VM machine type when connecting to old libvirt Fix qemu:///session handling in 'Add Connection' dialog Fix default storage path for qemu:///session, it should be .local/share/...
25 lines
904 B
Diff
25 lines
904 B
Diff
From: Cole Robinson <crobinso@redhat.com>
|
|
Date: Sun, 9 Aug 2015 12:27:20 -0400
|
|
Subject: [PATCH virt-manager] addconnection: Fix qemu:///session vs. lxc:///
|
|
detection
|
|
|
|
(cherry picked from commit 4970615f4870cc5394a46ff6a049ac937b3043d6)
|
|
---
|
|
virtManager/connect.py | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/virtManager/connect.py b/virtManager/connect.py
|
|
index b977fea..7493d14 100644
|
|
--- a/virtManager/connect.py
|
|
+++ b/virtManager/connect.py
|
|
@@ -327,7 +327,8 @@ class vmmConnect(vmmGObjectUI):
|
|
self.populate_uri()
|
|
|
|
def hypervisor_changed(self, src):
|
|
- is_session = (src.get_active() == HV_QEMU_SESSION)
|
|
+ hv = uiutil.get_list_selection(self.widget("hypervisor"))
|
|
+ is_session = (hv == HV_QEMU_SESSION)
|
|
uiutil.set_grid_row_visible(
|
|
self.widget("session-warning-box"), is_session)
|
|
uiutil.set_grid_row_visible(
|