ia64/xen-unstable

changeset 15087:e33cce8fa400

xend: configuration option 'localtime = 1' is not honored for PV domains.
This patch fixes an oversight when platform_* config options were
collected in a dictionary.

Signed-off-by: Jim Fehlig <jfehlig@novell.com>
author Keir Fraser <keir@xensource.com>
date Sat May 12 12:44:20 2007 +0100 (2007-05-12)
parents 6087058857c5
children 174995130550
files tools/python/xen/xend/XendDomainInfo.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomainInfo.py	Sat May 12 12:43:16 2007 +0100
     1.2 +++ b/tools/python/xen/xend/XendDomainInfo.py	Sat May 12 12:44:20 2007 +0100
     1.3 @@ -1472,8 +1472,7 @@ class XendDomainInfo:
     1.4          try:
     1.5              self.image = image.create(self, self.info)
     1.6  
     1.7 -            localtime = self.info.get('platform_localtime', False)
     1.8 -            if localtime:
     1.9 +            if self.info['platform'].get('localtime', 0):
    1.10                  xc.domain_set_time_offset(self.domid)
    1.11  
    1.12              xc.domain_setcpuweight(self.domid, self.info['cpu_weight'])