2007-05-12 12:54:21 +02:00
|
|
|
# HG changeset patch
|
|
|
|
# User Jim Fehlig <jfehlig@novell.com>
|
|
|
|
# Date 1178858624 21600
|
|
|
|
# Node ID 29b301382bb60ce54e0ac9dc5e5163306de577ff
|
|
|
|
# Parent 3ef0510e44d04eb837ae238203251b969fc45df9
|
|
|
|
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>
|
|
|
|
|
|
|
|
Index: xen-3.1-testing/tools/python/xen/xend/XendDomainInfo.py
|
|
|
|
===================================================================
|
|
|
|
--- xen-3.1-testing.orig/tools/python/xen/xend/XendDomainInfo.py
|
|
|
|
+++ xen-3.1-testing/tools/python/xen/xend/XendDomainInfo.py
|
2007-05-21 22:28:46 +02:00
|
|
|
@@ -1472,8 +1472,7 @@ class XendDomainInfo:
|
2007-05-12 12:54:21 +02:00
|
|
|
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'])
|