mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
Display and xauthority vars are read from vmConfig['platform'] first, then they are read again from dev_info. However if the user does not set those variable in the config file, dev_info won't contain them, hence we are going to overwrite the current significant values with null. This patch fixes the problem setting display and xauthority to the current values if dev_info does not contain them. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
The file test.py here is from the Zope project, and is Copyright (c) 2001, 2002 Zope Corporation and Contributors. This file is released under the Zope Public License, version 2.0, a copy of which is in the file ZPL-2.0.