aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/python/xen/xend/image.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/python/xen/xend/image.py b/tools/python/xen/xend/image.py
index 9e978b97aa..411936d5d6 100644
--- a/tools/python/xen/xend/image.py
+++ b/tools/python/xen/xend/image.py
@@ -291,8 +291,8 @@ class ImageHandler:
if int(dev_info.get('sdl', 0)) != 0 :
has_sdl = True
if has_sdl:
- self.display = dev_info.get('display', {})
- self.xauthority = dev_info.get('xauthority', {})
+ self.display = dev_info.get('display', self.display)
+ self.xauthority = dev_info.get('xauthority', self.xauthority)
opengl = int(dev_info.get('opengl', opengl))
if has_vnc:
vnc_config = dev_info.get('other_config', {})