--- tools/virsh.c | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/tools/virsh.c b/tools/virsh.c index b053ed0..555f278 100644 --- a/tools/virsh.c +++ b/tools/virsh.c @@ -1082,12 +1082,25 @@ cmdDomblkstat (vshControl *ctl, const vshCmd *cmd) if (stats.rd_bytes >= 0) vshPrint (ctl, "%s rd_bytes %lld\n", device, stats.rd_bytes); + if (stats.rd_total_times >= 0) + vshPrint (ctl, "%sns rd_total_times %lld\n", device, stats.rd_total_times); + if (stats.wr_req >= 0) vshPrint (ctl, "%s wr_req %lld\n", device, stats.wr_req); if (stats.wr_bytes >= 0) vshPrint (ctl, "%s wr_bytes %lld\n", device, stats.wr_bytes); + if (stats.wr_total_times >= 0) + vshPrint (ctl, "%sns wr_total_times %lld\n", device, stats.wr_total_times); + + if (stats.flush_req >= 0) + vshPrint (ctl, "%s flush_req %lld\n", device, stats.flush_req); + + if (stats.flush_total_times >= 0) + vshPrint (ctl, "%sns flush_total_times %lld\n", device, + stats.flush_total_times); + if (stats.errs >= 0) vshPrint (ctl, "%s errs %lld\n", device, stats.errs); -- 1.7.6 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list