search for: fixup_sxpr

Displaying 1 result from an estimated 1 matches for "fixup_sxpr".

2008 Jul 11
0
PATCH: Ignore errors from dieing domains in RPC server
...LRPCServer.py Thu Jul 10 17:33:23 2008 +0100 +++ b/tools/python/xen/xend/server/XMLRPCServer.py Fri Jul 11 12:28:02 2008 +0100 @@ -64,7 +64,14 @@ def domains_with_state(detail, state, full): if detail: domains = XendDomain.instance().list_sorted(state) - return map(lambda dom: fixup_sxpr(dom.sxpr(not full)), domains) + ret = [] + for dom in domains: + try: + ret.append(fixup_sxpr(dom.sxpr(not full))) + except: + log.warn("Failed to query SXPR for domain %s" % str(dom)) + pass + return...