[virt-tools-list] [virt-manager PATCH] virtinst.connection: detect RHEL system also for session connection

Pavel Hrdina phrdina at redhat.com
Thu Nov 5 12:54:35 UTC 2015


We should detect RHEL qemu also for session connection, not only system
connection, the capabilities of both are the same.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1258691

Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
---

I'm not sure, why there was only qemu_system, I've tried to follow the change to
its origin, but it didn't help.

 virtinst/connection.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/virtinst/connection.py b/virtinst/connection.py
index aef7b48..a09f4df 100644
--- a/virtinst/connection.py
+++ b/virtinst/connection.py
@@ -326,7 +326,7 @@ class VirtualConnection(object):
         if not CLIConfig.stable_defaults and not force:
             return False
 
-        if not self.is_qemu_system():
+        if not self.is_qemu():
             return False
 
         if emulator:
-- 
2.6.2




More information about the virt-tools-list mailing list