1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-07 17:28:15 +00:00

latency: Define the internal driver callback

This commit is contained in:
Osier Yang 2011-09-05 16:15:14 +08:00
parent c843478ec8
commit 1c622a3d53

View File

@ -347,6 +347,13 @@ typedef int
(virDomainPtr domain, (virDomainPtr domain,
const char *path, const char *path,
struct _virDomainBlockStats *stats); struct _virDomainBlockStats *stats);
typedef int
(*virDrvDomainBlockStatsFlags)
(virDomainPtr domain,
const char *path,
virTypedParameterPtr params,
int *nparams,
unsigned int flags);
typedef int typedef int
(*virDrvDomainInterfaceStats) (*virDrvDomainInterfaceStats)
(virDomainPtr domain, (virDomainPtr domain,
@ -806,6 +813,7 @@ struct _virDriver {
virDrvDomainMigratePerform domainMigratePerform; virDrvDomainMigratePerform domainMigratePerform;
virDrvDomainMigrateFinish domainMigrateFinish; virDrvDomainMigrateFinish domainMigrateFinish;
virDrvDomainBlockStats domainBlockStats; virDrvDomainBlockStats domainBlockStats;
virDrvDomainBlockStatsFlags domainBlockStatsFlags;
virDrvDomainInterfaceStats domainInterfaceStats; virDrvDomainInterfaceStats domainInterfaceStats;
virDrvDomainMemoryStats domainMemoryStats; virDrvDomainMemoryStats domainMemoryStats;
virDrvDomainBlockPeek domainBlockPeek; virDrvDomainBlockPeek domainBlockPeek;