[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xend: configuration option 'localtime = 1' is not honored for PV domains.



# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1178970260 -3600
# Node ID e33cce8fa400fa4c9b678de563672b2854b139db
# Parent  6087058857c58499d2953425c4e3fde6a3a5dc15
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@xxxxxxxxxx>
---
 tools/python/xen/xend/XendDomainInfo.py |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)

diff -r 6087058857c5 -r e33cce8fa400 tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Sat May 12 12:43:16 2007 +0100
+++ b/tools/python/xen/xend/XendDomainInfo.py   Sat May 12 12:44:20 2007 +0100
@@ -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'])

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.