File virtman-reverse-serialcon.patch of Package virt-manager

Reverses upstream patch: serialcon: Don't open a console with name=None
Git: ce94126b707f157d88de113a8c591e628d55db63
bnc#780859

Index: virt-manager-0.9.4/src/virtManager/serialcon.py
===================================================================
--- virt-manager-0.9.4.orig/src/virtManager/serialcon.py
+++ virt-manager-0.9.4/src/virtManager/serialcon.py
@@ -191,8 +191,9 @@ class LibvirtConsoleConnection(ConsoleCo
         name = dev and dev.alias.name or None
         logging.debug("Opening console stream for dev=%s alias=%s",
                       dev, name)
-        if not name:
-            raise RuntimeError(_("Cannot open a device with no alias name"))
+        # bnc#780859
+        #if not name:
+        #    raise RuntimeError(_("Cannot open a device with no alias name"))
 
         self.stream = self.conn.vmm.newStream(libvirt.VIR_STREAM_NONBLOCK)
 
openSUSE Build Service is sponsored by