Re: [perl PATCH 2/2] Adapt to rename of virDomainGetIOThreadsInfo to virDomainGetIOThreadInfo

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

 




On 03/26/2015 08:46 AM, Ján Tomko wrote:
> ---
>  Changes | 1 +
>  Virt.xs | 4 ++--
>  2 files changed, 3 insertions(+), 2 deletions(-)
> 

There's also examples/iothreadsinfo.pl that needs to be updated - not
only to have the right API name, but to add the CPU Time if you added
that as well

John
> diff --git a/Changes b/Changes
> index 44a42f2..7a2bc51 100644
> --- a/Changes
> +++ b/Changes
> @@ -10,6 +10,7 @@ Revision history for perl module Sys::Virt
>   - Add virDomainInterfaceAddress function & constants
>   - Add VIR_DOMAIN_PAUSED_STARTING_UP constant
>   - Adapt to rename of virDomainIOThreadsInfoFree to virDomainIOThreadInfoFree
> + - Adapt to rename of virDomainGetIOThreadsInfo to virDomainGetIOThreadInfo
>  
>  1.2.13 2015-03-05
>  
> diff --git a/Virt.xs b/Virt.xs
> index 5dc977a..2138530 100644
> --- a/Virt.xs
> +++ b/Virt.xs
> @@ -5023,8 +5023,8 @@ get_iothread_info(dom, flags=0)
>        int niothreads;
>        int i;
>     PPCODE:
> -      if ((niothreads = virDomainGetIOThreadsInfo(dom, &iothrinfo,
> -                                                  flags)) < 0)
> +      if ((niothreads = virDomainGetIOThreadInfo(dom, &iothrinfo,
> +                                                 flags)) < 0)
>            _croak_error();
>  
>        EXTEND(SP, niothreads);
> 

--
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]