mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
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:
1 parent
157a708a28
commit
e4072e1c33
1 file changed
+1
-1
@@ -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")
|
||||
|
||||
|
||||
|
||||