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>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2005-11-01 10:31:25 +01:00
1 parent 157a708a28
commit e4072e1c33
1 file changed
+1 -1
+1 -1
View File
@@ -376,7 +376,7 @@ gopts.var('sdl', val='',
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")
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.