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

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



On Wed, Aug 31, 2011 at 04:26:07PM +0800, Osier Yang wrote:
> ---
>  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;

ACK

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/


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