debuggers.hg

changeset 21287:d6bd61a5a0fc

Remus: fix VM stringification

Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
author Keir Fraser <keir.fraser@citrix.com>
date Tue May 04 09:34:50 2010 +0100 (2010-05-04)
parents 321dddf767e2
children e1482f91b235
files tools/python/xen/remus/vm.py
line diff
     1.1 --- a/tools/python/xen/remus/vm.py	Tue May 04 09:34:23 2010 +0100
     1.2 +++ b/tools/python/xen/remus/vm.py	Tue May 04 09:34:50 2010 +0100
     1.3 @@ -42,8 +42,9 @@ class VM(object):
     1.4          self.vifs = getvifs(self.dom)
     1.5  
     1.6      def __str__(self):
     1.7 -        return 'VM %d (%s), MACs: [%s], disks: [%s]' % \
     1.8 -               (self.domid, self.name, self.epoch, ', '.join(self.macs),
     1.9 +        return 'VM %d (%s), vifs: [%s], disks: [%s]' % \
    1.10 +               (self.domid, self.name,
    1.11 +                ', '.join([str(v) for v in self.vifs]),
    1.12                  ', '.join([str(d) for d in self.disks]))
    1.13  
    1.14  def parsedominfo(dominfo):