* [PATCH] Bogus uptime after restore
@ 2006-10-18 20:05 Glauber de Oliveira Costa
0 siblings, 0 replies; only message in thread
From: Glauber de Oliveira Costa @ 2006-10-18 20:05 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1: Type: text/plain, Size: 261 bytes --]
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"
[-- Attachment #2: uptime.patch --]
[-- Type: text/plain, Size: 566 bytes --]
--- 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
[-- 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:[~2006-10-18 20:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-18 20:05 [PATCH] Bogus uptime after restore Glauber de Oliveira Costa
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.