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

2015-03-27 Thread Ján Tomko
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@redhat.com
 https://www.redhat.com/mailman/listinfo/libvir-list


signature.asc
Description: Digital signature
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

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

2015-03-26 Thread Ján Tomko
---
 Changes | 1 +
 Virt.xs | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

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);
-- 
2.0.5

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


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

2015-03-26 Thread John Ferlan


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@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list