Skip to contentSkip to conversation

fix localtime=1 to work for PV domain case

PATCH Applied Atsushi SAKAI 2 participants 2 messages Feb 8, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix localtime=1 to work for PV domain case

Hi,

This patch intends to fix localtime=1 working for PV domain. (to work xc.domain_set_offset_time())

At this moment,
localtime=1 in config file does not work for PV domain.

I guess this problem occured at xen-unstable 13040.

Thanks
Atsushi SAKAI

tools/python/xen/xend/XendDomainInfo.py +1 -1
diff -r b3ae332e6dbd tools/python/xen/xend/XendDomainInfo.py
@@ -1416,7 +1416,7 @@ class XendDomainInfo:
                                       self.info['image'],
                                       self.info['devices'])
 
-            localtime = self.info.get('localtime', False)
+            localtime = self.info.get('platform_localtime', False)
             if localtime:
                 xc.domain_set_time_offset(self.domid)
 

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Applied
#1 lore raw
Quoted 9 lines · Atsushi SAKAI

Hi,

This patch intends to fix localtime=1 working for PV domain. (to work xc.domain_set_offset_time())

At this moment,
localtime=1 in config file does not work for PV domain.

Applied, thank you.

Ewan.