FreeBSD Bugzilla – Attachment 156065 Details for
Bug 199750
deskutils/virt-manager: Fix Xen text console issue
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix Xen text console issue
virt-manager.patch (text/plain), 1.43 KB, created by
Ting-Wei Lan
on 2015-04-28 06:40:41 UTC
(
hide
)
Description:
Fix Xen text console issue
Filename:
MIME Type:
Creator:
Ting-Wei Lan
Created:
2015-04-28 06:40:41 UTC
Size:
1.43 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 384887) >+++ Makefile (working copy) >@@ -2,7 +2,7 @@ > > PORTNAME= virt-manager > PORTVERSION= 1.1.0 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= deskutils net-mgmt > MASTER_SITES= http://virt-manager.org/download/sources/${PORTNAME}/ \ > LOCAL/jgh/deskutils/${PORTNAME}/ >Index: files/patch-virtManager_serialcon.py >=================================================================== >--- files/patch-virtManager_serialcon.py (revision 384887) >+++ files/patch-virtManager_serialcon.py (working copy) >@@ -1,3 +1,17 @@ >+--- virtManager/serialcon.py.orig >++++ virtManager/serialcon.py >+@@ -205,8 +205,9 @@ class LibvirtConsoleConnection(ConsoleConnection): >+ 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")) >++ # libxl doesn't set aliases, their open_console just defaults to >++ # opening the first console device, so don't force prescence of >++ # an alias >+ >+ stream = self.conn.get_backend().newStream(libvirt.VIR_STREAM_NONBLOCK) >+ self.vm.open_console(name, stream) > --- virtManager/serialcon.py.orig 2014-07-28 15:11:32 UTC > +++ virtManager/serialcon.py > @@ -326,7 +326,6 @@ class vmmSerialConsole(vmmGObject):
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 199750
: 156065