ia64/xen-unstable
changeset 7598:a48ac90f99f1
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@intel.com>
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@intel.com>
author | kaf24@firebug.cl.cam.ac.uk |
---|---|
date | Tue Nov 01 10:31:25 2005 +0100 (2005-11-01) |
parents | f1b6dd997716 |
children | c794c98c416c |
files | tools/python/xen/xm/create.py |
line diff
1.1 --- a/tools/python/xen/xm/create.py Tue Nov 01 10:28:41 2005 +0100 1.2 +++ b/tools/python/xen/xm/create.py Tue Nov 01 10:31:25 2005 +0100 1.3 @@ -376,7 +376,7 @@ gopts.var('sdl', val='', 1.4 use="""Should the device model use SDL?""") 1.5 1.6 gopts.var('display', val='DISPLAY', 1.7 - fn=set_value, default='localhost:0', 1.8 + fn=set_value, default=None, 1.9 use="X11 display to use") 1.10 1.11