Work around the fact that the physinfo dom0 call is not implemented for IA64.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
emellor@leeni.uk.xensource.com committed 2005-12-01 03:26:47 +00:00
1 parent 5bc6f1ef3d
commit ccb75f7da6
1 file changed
+11 -4
+11 -4
View File
@@ -69,10 +69,17 @@ those logs from the archive.
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):
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.