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

[Xen-devel] [PATCH] Bogus uptime after restore


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Glauber de Oliveira Costa <gcosta@xxxxxxxxxx>
  • Date: Wed, 18 Oct 2006 17:05:54 -0300
  • Delivery-date: Wed, 18 Oct 2006 13:06:23 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi,

besides being written to the store, the start_time field does not seem
to be being grabbed back fron it upon restore. It leaves it blank, thus
causing xm uptime to report bogus information.


-- 
Glauber de Oliveira Costa
Red Hat Inc.
"Free as in Freedom"
--- 
xen-3.0.3-testing-11633/tools/python/build/lib.linux-x86_64-2.4/xen/xend/XendDomainInfo.py.orig
     2006-09-28 18:52:38.000000000 -0400
+++ 
xen-3.0.3-testing-11633/tools/python/build/lib.linux-x86_64-2.4/xen/xend/XendDomainInfo.py
  2006-10-18 15:16:27.000000000 -0400
@@ -392,6 +392,8 @@ def parseConfig(config):
             log.warn("Ignoring malformed and deprecated config option "
                      "restart = %s", restart)
 
+    result['start_time'] = get_cfg('start_time', float)
+
     log.debug("parseConfig: result is %s", result)
     return result
 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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