mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
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>
This commit is contained in:
1 parent
a4bc02d9dd
commit
253a9fcaf4
1 file changed
+1
-2
@@ -1472,8 +1472,7 @@ class XendDomainInfo:
|
||||
try:
|
||||
self.image = image.create(self, self.info)
|
||||
|
||||
localtime = self.info.get('platform_localtime', False)
|
||||
if localtime:
|
||||
if self.info['platform'].get('localtime', 0):
|
||||
xc.domain_set_time_offset(self.domid)
|
||||
|
||||
xc.domain_setcpuweight(self.domid, self.info['cpu_weight'])
|
||||
|
||||