WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-4.0-testing] Remus: fix VM stringification

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-4.0-testing] Remus: fix VM stringification
From: "Xen patchbot-4.0-testing" <patchbot-4.0-testing@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 21 Jun 2010 23:35:29 -0700
Delivery-date: Mon, 21 Jun 2010 23:36:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1277188127 -3600
# Node ID b075559944d1afc9c39816a1b7924e5d1b87a5de
# Parent  352739113ccb09e99b1ece056ad0f2f62adaf9eb
Remus: fix VM stringification

Signed-off-by: Brendan Cully <brendan@xxxxxxxxx>
xen-unstable changeset:   21241:d6bd61a5a0fc
xen-unstable date:        Tue May 04 09:34:50 2010 +0100
---
 tools/python/xen/remus/vm.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff -r 352739113ccb -r b075559944d1 tools/python/xen/remus/vm.py
--- a/tools/python/xen/remus/vm.py      Tue Jun 22 07:28:11 2010 +0100
+++ b/tools/python/xen/remus/vm.py      Tue Jun 22 07:28:47 2010 +0100
@@ -42,8 +42,9 @@ class VM(object):
         self.vifs = getvifs(self.dom)
 
     def __str__(self):
-        return 'VM %d (%s), MACs: [%s], disks: [%s]' % \
-               (self.domid, self.name, self.epoch, ', '.join(self.macs),
+        return 'VM %d (%s), vifs: [%s], disks: [%s]' % \
+               (self.domid, self.name,
+                ', '.join([str(v) for v in self.vifs]),
                 ', '.join([str(d) for d in self.disks]))
 
 def parsedominfo(dominfo):

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-4.0-testing] Remus: fix VM stringification, Xen patchbot-4.0-testing <=