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-3.1-testing] xenstat: Remove the "vbd-%d-%d is a VB

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.1-testing] xenstat: Remove the "vbd-%d-%d is a VBD." debugging statement.
From: "Xen patchbot-3.1-testing" <patchbot-3.1-testing@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 09 May 2007 13:10:16 -0700
Delivery-date: Wed, 09 May 2007 13:09:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/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@xxxxxxxxxxxxx>
# Date 1178542370 -3600
# Node ID ebe1460ff6ce7b49f07695becc936d460cebe879
# Parent  e370c94bd6fd0816fec9d654fecde28d8c618168
xenstat: Remove the "vbd-%d-%d is a VBD." debugging statement.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 tools/xenstat/libxenstat/src/xenstat_linux.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff -r e370c94bd6fd -r ebe1460ff6ce 
tools/xenstat/libxenstat/src/xenstat_linux.c
--- a/tools/xenstat/libxenstat/src/xenstat_linux.c      Sat May 05 13:48:05 
2007 +0100
+++ b/tools/xenstat/libxenstat/src/xenstat_linux.c      Mon May 07 13:52:50 
2007 +0100
@@ -206,10 +206,8 @@ int xenstat_collect_vbds(xenstat_node * 
 
 
                ret = sscanf(dp->d_name, "vbd-%u-%u", &domid, &vbd.dev);
-               if (ret != 2) {
-                       continue;
-               }
-               printf("%s is VBD.\n",dp->d_name);
+               if (ret != 2)
+                       continue;
 
                domain = xenstat_node_domain(node, domid);
                if (domain == NULL) {

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.1-testing] xenstat: Remove the "vbd-%d-%d is a VBD." debugging statement., Xen patchbot-3.1-testing <=