Bogus uptime after restore
PATCH 1/1 Bogus uptime after restore
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.
Signature · 3 lines
Glauber de Oliveira Costa Red Hat Inc. "Free as in Freedom"
tools/python/build/lib.linux-x86_64-2.4/xen/xend/XendDomainInfo.py renamed from tools/python/build/lib.linux-x86_64-2.4/xen/xend/XendDomainInfo.py.orig +2 -0
@@ -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
[email protected]
http://lists.xensource.com/xen-devel