fix vmx domain creation fail with SDL from changset 7547
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.
Signed-off-by Xiaofeng Ling <[email protected]>
tools/python/xen/xm/create.py +1 -1
@@ -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
@@ -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