[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Fix the DISPLAY configration that breaks vmx domain creation with SDL



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID a48ac90f99f19797742b370631d7763d74e1b9b8
# Parent  f1b6dd997716d28ea40d201450c1d29c80eb58fc
Fix the DISPLAY configration that breaks vmx domain creation with SDL
on vncserver or remote X. Changeset 7547 added a test of
opts.vals.display when getenv("DISPLAY"); because there is a default
value:localhost:0, that causes the test always to be true.

Signed-off-by: Xiaofeng Ling <xiaofeng.ling@xxxxxxxxx>

diff -r f1b6dd997716 -r a48ac90f99f1 tools/python/xen/xm/create.py
--- a/tools/python/xen/xm/create.py     Tue Nov  1 09:28:41 2005
+++ b/tools/python/xen/xm/create.py     Tue Nov  1 09:31:25 2005
@@ -376,7 +376,7 @@
           use="""Should the device model use SDL?""")
 
 gopts.var('display', val='DISPLAY',
-          fn=set_value, default='localhost:0',
+          fn=set_value, default=None,
           use="X11 display to use")
 
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.