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

[libvirt] [PATCH 2/8] latency: Define the internal driver callback



---
 src/driver.h |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/driver.h b/src/driver.h
index 80d6628..05693e3 100644
--- a/src/driver.h
+++ b/src/driver.h
@@ -348,6 +348,13 @@ typedef int
                      const char *path,
                      struct _virDomainBlockStats *stats);
 typedef int
+    (*virDrvDomainBlockStatsFlags)
+                    (virDomainPtr domain,
+                     const char *path,
+                     virDomainBlockStatsFlagsPtr params,
+                     int *nparams,
+                     unsigned int flags);
+typedef int
     (*virDrvDomainInterfaceStats)
                     (virDomainPtr domain,
                      const char *path,
@@ -801,6 +808,7 @@ struct _virDriver {
     virDrvDomainMigratePerform	domainMigratePerform;
     virDrvDomainMigrateFinish	domainMigrateFinish;
     virDrvDomainBlockStats      domainBlockStats;
+    virDrvDomainBlockStatsFlags domainBlockStatsFlags;
     virDrvDomainInterfaceStats  domainInterfaceStats;
     virDrvDomainMemoryStats     domainMemoryStats;
     virDrvDomainBlockPeek	domainBlockPeek;
-- 
1.7.6


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