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

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

 



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@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]