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

Ján Tomko jtomko at redhat.com
Fri Mar 27 08:18:18 UTC 2015


On Thu, Mar 26, 2015 at 11:42:12AM -0400, John Ferlan wrote:
> 
> 
> 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

The perl API name has not changed.

Jan

> 
> 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 at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150327/90b7026c/attachment-0001.sig>


More information about the libvir-list mailing list