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-unstable] xentop: Display blktap information.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xentop: Display blktap information.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 11 Jun 2007 02:22:29 -0700
Delivery-date: Tue, 12 Jun 2007 05:06: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 kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1181211258 -3600
# Node ID 3a413f011b8f5dc53825d6882cdf95d47a4212b1
# Parent  d47415adf38414e36d632e9bfa45e121ce68193c
xentop: Display blktap information.
Signed-off-by: Satoshi UCHIDA <s-uchida@xxxxxxxxxxxxx>
---
 tools/xenstat/xentop/xentop.c |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletion(-)

diff -r d47415adf384 -r 3a413f011b8f tools/xenstat/xentop/xentop.c
--- a/tools/xenstat/xentop/xentop.c     Thu Jun 07 11:13:41 2007 +0100
+++ b/tools/xenstat/xentop/xentop.c     Thu Jun 07 11:14:18 2007 +0100
@@ -913,6 +913,12 @@ void do_vbd(xenstat_domain *domain)
        xenstat_vbd *vbd;
        unsigned num_vbds = 0;
 
+       const char *vbd_type[] = {
+               "Unidentified",           /* number 0 */
+               "BlkBack",           /* number 1 */
+               "BlkTap",            /* number 2 */
+       };
+       
        num_vbds = xenstat_domain_num_vbds(domain);
 
        for (i=0 ; i< num_vbds; i++) {
@@ -927,7 +933,8 @@ void do_vbd(xenstat_domain *domain)
                         MINOR(xenstat_vbd_dev(vbd)));
 #endif
 
-               print("VBD %4d %s OO: %8llu   RD: %8llu   WR: %8llu\n",
+               print("VBD %s %4d %s OO: %8llu   RD: %8llu   WR: %8llu\n",
+                     vbd_type[xenstat_vbd_type(vbd)],
                      xenstat_vbd_dev(vbd), details,
                      xenstat_vbd_oo_reqs(vbd),
                      xenstat_vbd_rd_reqs(vbd),

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xentop: Display blktap information., Xen patchbot-unstable <=