2012-09-21 16:55:06 +02:00
|
|
|
Reverses upstream patch: serialcon: Don't open a console with name=None
|
|
|
|
Git: ce94126b707f157d88de113a8c591e628d55db63
|
|
|
|
bnc#780859
|
|
|
|
|
2013-11-26 22:23:05 +01:00
|
|
|
Index: virt-manager-0.10.0/virtManager/serialcon.py
|
2012-09-21 16:55:06 +02:00
|
|
|
===================================================================
|
2013-11-26 22:23:05 +01:00
|
|
|
--- virt-manager-0.10.0.orig/virtManager/serialcon.py
|
|
|
|
+++ virt-manager-0.10.0/virtManager/serialcon.py
|
|
|
|
@@ -199,8 +199,9 @@ class LibvirtConsoleConnection(ConsoleCo
|
2012-09-21 16:55:06 +02:00
|
|
|
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)
|
|
|
|
|