From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jim Fehlig Subject: [PATCH][xend] localtime not honored for PV domains Date: Thu, 10 May 2007 22:48:43 -0600 Message-ID: <4643F5AB.40803@novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050905060800000008090703" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------050905060800000008090703 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Configuration option 'localtime = 1' is not honored for PV domains. This patch fixes an oversight when platform_* config options were collected in a dictionary. Regards, Jim --------------050905060800000008090703 Content-Type: text/x-patch; name="xend_pv_localtime.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="xend_pv_localtime.patch" # HG changeset patch # User Jim Fehlig # 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 diff -r 3ef0510e44d0 -r 29b301382bb6 tools/python/xen/xend/XendDomainInfo.py --- a/tools/python/xen/xend/XendDomainInfo.py Tue May 08 10:21:23 2007 +0100 +++ b/tools/python/xen/xend/XendDomainInfo.py Thu May 10 22:43:44 2007 -0600 @@ -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']) --------------050905060800000008090703 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------050905060800000008090703--