Ling, Xiaofeng
2005-Nov-01 04:19 UTC
[Xen-devel] [PATCH] 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.
Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
diff -r ea6d9f29dff5 tools/python/xen/xm/create.py
--- a/tools/python/xen/xm/create.py Mon Oct 31 17:07:14 2005 +0100
+++ b/tools/python/xen/xm/create.py Tue Nov 1 09:42:31 2005 +0800
@@ -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
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel