|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-3.1-testing] [Xen-API] Fix the rtc/timeoffset entry
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1178615866 -3600
# Node ID 4930f0289d0db0efc7127a7f6dc906340ed93b3b
# Parent 9d0dbe9c4d6bd217d4f23310d7ae87ca853f880d
[Xen-API] Fix the rtc/timeoffset entry.
It cannot be 'None' as this is not parseable by the Java xmlrpc
library.
Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>
---
tools/python/xen/xend/XendDomainInfo.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletion(-)
diff -r 9d0dbe9c4d6b -r 4930f0289d0d tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py Mon May 07 13:58:42 2007 +0100
+++ b/tools/python/xen/xend/XendDomainInfo.py Tue May 08 10:17:46 2007 +0100
@@ -867,7 +867,10 @@ class XendDomainInfo:
# convert two lists into a python dictionary
vm_details = dict(zip(cfg_vm, vm_details))
-
+
+ if vm_details['rtc/timeoffset'] == None:
+ vm_details['rtc/timeoffset'] = "0"
+
for arg, val in vm_details.items():
if arg in XendConfig.LEGACY_CFG_TO_XENAPI_CFG:
xapiarg = XendConfig.LEGACY_CFG_TO_XENAPI_CFG[arg]
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-3.1-testing] [Xen-API] Fix the rtc/timeoffset entry.,
Xen patchbot-3.1-testing <=
|
|
|
|
|