|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Work around the fact that the physinfo dom0 call is not
# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID fbbb8a2a60138d4e3c1168e44fe021b84d194864
# Parent e6d64c356d63a3528fb202bf91bcd38d248b8065
Work around the fact that the physinfo dom0 call is not implemented for IA64.
Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
diff -r e6d64c356d63 -r fbbb8a2a6013 tools/python/xen/util/bugtool.py
--- a/tools/python/xen/util/bugtool.py Thu Dec 1 03:19:40 2005
+++ b/tools/python/xen/util/bugtool.py Thu Dec 1 03:26:47 2005
@@ -69,10 +69,17 @@
bugball = []
xc = xen.lowlevel.xc.xc()
- bugball.append(string_iterator('xen-dmesg', xc.readconsolering()))
- bugball.append(string_iterator('physinfo', prettyDict(xc.physinfo())))
- bugball.append(string_iterator('xeninfo', prettyDict(xc.xeninfo())))
- del xc
+
+ def do(n, f):
+ try:
+ s = f()
+ except Exception, exn:
+ s = str(exn)
+ bugball.append(string_iterator(n, s))
+
+ do('xen-dmesg', lambda: xc.readconsolering())
+ do('physinfo', lambda: prettyDict(xc.physinfo()))
+ do('xeninfo', lambda: prettyDict(xc.xeninfo()))
for filename in FILES_TO_SEND:
if not os.path.exists(filename):
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] Work around the fact that the physinfo dom0 call is not implemented for IA64.,
Xen patchbot -unstable <=
|
|
|
|
|