* [PATCH][xend] localtime not honored for PV domains
@ 2007-05-11 4:48 Jim Fehlig
0 siblings, 0 replies; only message in thread
From: Jim Fehlig @ 2007-05-11 4:48 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1: Type: text/plain, Size: 179 bytes --]
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
[-- Attachment #2: xend_pv_localtime.patch --]
[-- Type: text/x-patch, Size: 1027 bytes --]
# 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>
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'])
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-05-11 4:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-11 4:48 [PATCH][xend] localtime not honored for PV domains Jim Fehlig
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.