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:
Keir Fraser committed 2007-05-12 12:44:20 +01:00
1 parent a4bc02d9dd
commit 253a9fcaf4
1 file changed
+1 -2
+1 -2
View File
@@ -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'])
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.