Skip to contentSkip to conversation

fix vmx domain creation fail with SDL from changset 7547

PATCH New Ling, Xiaofeng 1 participant 1 message Nov 1, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix vmx domain creation fail with SDL from changset 7547

Fix the DISPLAY configration that breaks vmx domain creation with SDL on vncserver or remote X. changeset 7547 add a judgement of opts.vals.display when getenv("DISPLAY"), because there is a default value:localhost:0, that cause the judgement always true.

tools/python/xen/xm/create.py +1 -1
diff -r ea6d9f29dff5 tools/python/xen/xm/create.py
@@ -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")
 
tools/python/xen/xm/create.py +1 -1
diff -r ea6d9f29dff5 tools/python/xen/xm/create.py
@@ -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-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel