[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH 3/4] latency: Update handler in qemu driver.



* src/qemu/qemu_driver.c: Update function qemudDomainBlockStats to
  support the new disk latency related members.
---
 src/qemu/qemu_driver.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index ce19be7..36d0d3f 100644
--- a/src/qemu/qemu_driver.c
+++ b/src/qemu/qemu_driver.c
@@ -6801,8 +6801,12 @@ qemudDomainBlockStats (virDomainPtr dom,
                                        disk->info.alias,
                                        &stats->rd_req,
                                        &stats->rd_bytes,
+                                       &stats->rd_total_times,
                                        &stats->wr_req,
                                        &stats->wr_bytes,
+                                       &stats->wr_total_times,
+                                       &stats->flush_req,
+                                       &stats->flush_total_times,
                                        &stats->errs);
     qemuDomainObjExitMonitor(driver, vm);
 
-- 
1.7.6


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]