Hello community,

here is the log from the commit of package perl-Sys-Virt for openSUSE:Factory 
checked in at 2014-07-10 08:18:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Sys-Virt (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Sys-Virt.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Sys-Virt"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Sys-Virt/perl-Sys-Virt.changes      
2014-06-10 14:39:18.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Sys-Virt.new/perl-Sys-Virt.changes 
2014-07-10 09:32:04.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Jul  2 14:36:46 MDT 2014 - [email protected]
+
+- Update to 1.2.6
+  - Add all new APIs and constants in libvirt 1.2.6
+
+-------------------------------------------------------------------

Old:
----
  Sys-Virt-1.2.5.tar.gz

New:
----
  Sys-Virt-1.2.6.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Sys-Virt.spec ++++++
--- /var/tmp/diff_new_pack.PJya7X/_old  2014-07-10 09:32:05.000000000 +0200
+++ /var/tmp/diff_new_pack.PJya7X/_new  2014-07-10 09:32:05.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Sys-Virt
-Version:        1.2.5
+Version:        1.2.6
 Release:        0
 %define cpan_name Sys-Virt
 Summary:        Represent and manage a libvirt hypervisor connection

++++++ Sys-Virt-1.2.5.tar.gz -> Sys-Virt-1.2.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.2.5/Changes new/Sys-Virt-1.2.6/Changes
--- old/Sys-Virt-1.2.5/Changes  2014-06-02 12:00:18.000000000 +0200
+++ new/Sys-Virt-1.2.6/Changes  2014-07-02 18:32:01.000000000 +0200
@@ -1,5 +1,15 @@
 Revision history for perl module Sys::Virt
 
+1.2.6 2014-07-02
+
+ - Add VIR_DOMAIN_BLOCK_JOB_TYPE_ACTIVE_COMMIT and
+   VIR_DOMAIN_BLOCK_COMMIT_ACTIVE constants
+ - Add VIR_DOMAIN_EVENT_ID_BLOCK_JOB_2 constant
+ - Add virNodeGetFreePages method
+ - Add VIR_CONNECT_COMPARE_CPU_FAIL_INCOMPATIBLE
+   and VIR_ERR_CPU_INCOMPATIBLE constants
+ - Add virNetworkGetDHCPLeases and constants
+
 1.2.5 2014-06-02
 
  - Add VIR_DOMAIN_{REBOOT,SHUTDOWN}_PARAVIRT constants
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.2.5/MANIFEST new/Sys-Virt-1.2.6/MANIFEST
--- old/Sys-Virt-1.2.5/MANIFEST 2014-06-02 12:00:30.000000000 +0200
+++ new/Sys-Virt-1.2.6/MANIFEST 2014-07-02 18:32:13.000000000 +0200
@@ -2,6 +2,7 @@
 Changes
 examples/auth.pl
 examples/devices.pl
+examples/dhcp-leases.pl
 examples/dump-info.pl
 examples/dump-xml.pl
 examples/emulator-pin.pl
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.2.5/META.yml new/Sys-Virt-1.2.6/META.yml
--- old/Sys-Virt-1.2.5/META.yml 2014-06-02 12:00:30.000000000 +0200
+++ new/Sys-Virt-1.2.6/META.yml 2014-07-02 18:32:13.000000000 +0200
@@ -1,7 +1,7 @@
 --- #YAML:1.0
 name:         Sys-Virt
 abstract:     Extension for the libvirt library
-version:      1.2.5
+version:      1.2.6
 author:
   - Daniel P. Berrange <[email protected]>
 license: perl
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.2.5/MYMETA.json 
new/Sys-Virt-1.2.6/MYMETA.json
--- old/Sys-Virt-1.2.5/MYMETA.json      2014-06-02 12:00:23.000000000 +0200
+++ new/Sys-Virt-1.2.6/MYMETA.json      2014-07-02 18:32:06.000000000 +0200
@@ -42,5 +42,5 @@
       }
    },
    "release_status" : "stable",
-   "version" : "v1.2.5"
+   "version" : "v1.2.6"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.2.5/MYMETA.yml 
new/Sys-Virt-1.2.6/MYMETA.yml
--- old/Sys-Virt-1.2.5/MYMETA.yml       2014-06-02 12:00:23.000000000 +0200
+++ new/Sys-Virt-1.2.6/MYMETA.yml       2014-07-02 18:32:06.000000000 +0200
@@ -24,4 +24,4 @@
   Test::Pod::Coverage: 0
   Time::HiRes: 0
   XML::XPath: 0
-version: v1.2.5
+version: v1.2.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.2.5/Makefile.PL 
new/Sys-Virt-1.2.6/Makefile.PL
--- old/Sys-Virt-1.2.5/Makefile.PL      2014-06-02 12:00:18.000000000 +0200
+++ new/Sys-Virt-1.2.6/Makefile.PL      2014-07-02 18:32:01.000000000 +0200
@@ -3,7 +3,7 @@
 # See lib/ExtUtils/MakeMaker.pm for details of how to influence
 # the contents of the Makefile that is written.
 
-my $libvirtver = "1.2.5";
+my $libvirtver = "1.2.6";
 my $stat = system "pkg-config --atleast-version=$libvirtver libvirt";
 die "cannot run pkg-config to check libvirt version" if $stat == -1;
 die "libvirt >= $libvirtver is required\n" unless $stat == 0;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.2.5/README new/Sys-Virt-1.2.6/README
--- old/Sys-Virt-1.2.5/README   2014-06-02 12:00:18.000000000 +0200
+++ new/Sys-Virt-1.2.6/README   2014-07-02 18:32:01.000000000 +0200
@@ -7,6 +7,6 @@
 The only pre-requisite for this module is libvirt itself. For
 installation instructions, consult the INSTALL file.
 
-The current minimum required version of libvirt is 1.2.5
+The current minimum required version of libvirt is 1.2.6
 
 -- End
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.2.5/Virt.xs new/Sys-Virt-1.2.6/Virt.xs
--- old/Sys-Virt-1.2.5/Virt.xs  2014-06-02 12:00:18.000000000 +0200
+++ new/Sys-Virt-1.2.6/Virt.xs  2014-07-02 18:32:01.000000000 +0200
@@ -1765,10 +1765,11 @@
       int end;
 PREINIT:
       unsigned long long *mem;
-      int i, num;
+      int i, num, ncells;
  PPCODE:
-      Newx(mem, end-start, unsigned long long);
-      if ((num = virNodeGetCellsFreeMemory(con, mem, start, end)) < 0) {
+      ncells = (end - start) + 1;
+      Newx(mem, ncells, unsigned long long);
+      if ((num = virNodeGetCellsFreeMemory(con, mem, start, ncells)) < 0) {
           Safefree(mem);
           _croak_error();
       }
@@ -1780,6 +1781,57 @@
       Safefree(mem);
 
 
+void
+get_node_free_pages(con, pagesizes, start, end, flags=0)
+     virConnectPtr con;
+     SV *pagesizes;
+     int start;
+     int end;
+     unsigned int flags;
+PREINIT:
+     AV *pagesizeslist;
+     unsigned int *pages;
+     unsigned int npages;
+     unsigned long long *counts;
+     int ncells;
+     int i, j;
+ PPCODE:
+     ncells = (end - start) + 1;
+     pagesizeslist = (AV *)SvRV(pagesizes);
+     npages = av_len(pagesizeslist) + 1;
+     Newx(pages, npages, unsigned int);
+     for (i = 0; i < npages; i++) {
+         SV **pagesize = av_fetch(pagesizeslist, i, 0);
+        pages[i] = SvIV(*pagesize);
+     }
+
+     Newx(counts, npages * ncells, unsigned long long);
+
+     if (virNodeGetFreePages(con, npages, pages, start,
+                            ncells, counts, flags) < 0) {
+         Safefree(counts);
+         Safefree(pages);
+         _croak_error();
+     }
+     EXTEND(SP, ncells);
+     for (i = 0; i < ncells; i++) {
+         HV *rec = newHV();
+        HV *prec = newHV();
+        (void)hv_store(rec, "cell", 4, newSViv(start + i), 0);
+        (void)hv_store(rec, "pages", 5, newRV_noinc((SV *)prec), 0);
+
+        for (j = 0; j < npages; j++) {
+            (void)hv_store_ent(prec,
+                               newSViv(pages[j]),
+                               virt_newSVull(counts[(i * npages) + j]),
+                               0);
+        }
+        PUSHs(newRV_noinc((SV *)rec));
+     }
+     Safefree(counts);
+     Safefree(pages);
+
+
 HV *
 get_node_cpu_stats(con, cpuNum=VIR_NODE_CPU_STATS_ALL_CPUS, flags=0)
       virConnectPtr con;
@@ -2650,6 +2702,9 @@
       case VIR_DOMAIN_EVENT_ID_BLOCK_JOB:
           callback = 
VIR_DOMAIN_EVENT_CALLBACK(_domain_event_block_job_callback);
           break;
+      case VIR_DOMAIN_EVENT_ID_BLOCK_JOB_2:
+          callback = 
VIR_DOMAIN_EVENT_CALLBACK(_domain_event_block_job_callback);
+          break;
       case VIR_DOMAIN_EVENT_ID_DISK_CHANGE:
           callback = 
VIR_DOMAIN_EVENT_CALLBACK(_domain_event_disk_change_callback);
           break;
@@ -5076,6 +5131,44 @@
 
 
 void
+get_dhcp_leases(net, macsv=&PL_sv_undef, flags=0)
+      virNetworkPtr net;
+      SV *macsv;
+      unsigned int flags;
+PREINIT:
+      virNetworkDHCPLeasePtr *leases = NULL;
+      int nleases;
+      const char *mac = NULL;
+      int i;
+  PPCODE:
+      if (SvOK(macsv))
+         mac = SvPV_nolen(macsv);
+
+      if ((nleases = virNetworkGetDHCPLeases(net, mac, &leases, flags)) < 0)
+         _croak_error();
+
+      EXTEND(SP, nleases);
+      for (i = 0 ; i < nleases ; i++) {
+         HV *hv = newHV();
+
+         (void)hv_store(hv, "iface", 5, newSVpv(leases[i]->iface, 0), 0);
+         (void)hv_store(hv, "expirytime", 10, 
virt_newSVll(leases[i]->expirytime), 0);
+         (void)hv_store(hv, "type", 4, newSViv(leases[i]->type), 0);
+         (void)hv_store(hv, "mac", 3, newSVpv(leases[i]->mac, 0), 0);
+         (void)hv_store(hv, "iaid", 4, newSVpv(leases[i]->iaid, 0), 0);
+         (void)hv_store(hv, "ipaddr", 6, newSVpv(leases[i]->ipaddr, 0), 0);
+         (void)hv_store(hv, "prefix", 6, newSViv(leases[i]->prefix), 0);
+         (void)hv_store(hv, "hostname", 8, newSVpv(leases[i]->hostname, 0), 0);
+         (void)hv_store(hv, "clientid", 8, newSVpv(leases[i]->clientid, 0), 0);
+
+         virNetworkDHCPLeaseFree(leases[i]);
+
+         PUSHs(newRV_noinc((SV*)hv));
+      }
+      free(leases);
+
+
+void
 destroy(net_rv)
       SV *net_rv;
  PREINIT:
@@ -6743,6 +6836,11 @@
 
       REGISTER_CONSTANT(VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURES, 
BASELINE_CPU_EXPAND_FEATURES);
 
+      REGISTER_CONSTANT(VIR_CONNECT_COMPARE_CPU_FAIL_INCOMPATIBLE, 
COMPARE_CPU_FAIL_INCOMPATIBLE);
+
+      REGISTER_CONSTANT(VIR_IP_ADDR_TYPE_IPV4, IP_ADDR_TYPE_IPV4);
+      REGISTER_CONSTANT(VIR_IP_ADDR_TYPE_IPV6, IP_ADDR_TYPE_IPV6);
+
       stash = gv_stashpv( "Sys::Virt::Event", TRUE );
 
       REGISTER_CONSTANT(VIR_EVENT_HANDLE_READABLE, HANDLE_READABLE);
@@ -7004,6 +7102,7 @@
       REGISTER_CONSTANT(VIR_DOMAIN_BLOCK_JOB_TYPE_PULL, BLOCK_JOB_TYPE_PULL);
       REGISTER_CONSTANT(VIR_DOMAIN_BLOCK_JOB_TYPE_COPY, BLOCK_JOB_TYPE_COPY);
       REGISTER_CONSTANT(VIR_DOMAIN_BLOCK_JOB_TYPE_COMMIT, 
BLOCK_JOB_TYPE_COMMIT);
+      REGISTER_CONSTANT(VIR_DOMAIN_BLOCK_JOB_TYPE_ACTIVE_COMMIT, 
BLOCK_JOB_TYPE_ACTIVE_COMMIT);
 
       REGISTER_CONSTANT(VIR_DOMAIN_BLOCK_JOB_COMPLETED, BLOCK_JOB_COMPLETED);
       REGISTER_CONSTANT(VIR_DOMAIN_BLOCK_JOB_FAILED, BLOCK_JOB_FAILED);
@@ -7012,6 +7111,7 @@
 
       REGISTER_CONSTANT(VIR_DOMAIN_BLOCK_COMMIT_DELETE, BLOCK_COMMIT_DELETE);
       REGISTER_CONSTANT(VIR_DOMAIN_BLOCK_COMMIT_SHALLOW, BLOCK_COMMIT_SHALLOW);
+      REGISTER_CONSTANT(VIR_DOMAIN_BLOCK_COMMIT_ACTIVE, BLOCK_COMMIT_ACTIVE);
 
       REGISTER_CONSTANT(VIR_DOMAIN_EVENT_ID_LIFECYCLE, EVENT_ID_LIFECYCLE);
       REGISTER_CONSTANT(VIR_DOMAIN_EVENT_ID_REBOOT, EVENT_ID_REBOOT);
@@ -7022,6 +7122,7 @@
       REGISTER_CONSTANT(VIR_DOMAIN_EVENT_ID_IO_ERROR_REASON, 
EVENT_ID_IO_ERROR_REASON);
       REGISTER_CONSTANT(VIR_DOMAIN_EVENT_ID_CONTROL_ERROR, 
EVENT_ID_CONTROL_ERROR);
       REGISTER_CONSTANT(VIR_DOMAIN_EVENT_ID_BLOCK_JOB, EVENT_ID_BLOCK_JOB);
+      REGISTER_CONSTANT(VIR_DOMAIN_EVENT_ID_BLOCK_JOB_2, EVENT_ID_BLOCK_JOB_2);
       REGISTER_CONSTANT(VIR_DOMAIN_EVENT_ID_DISK_CHANGE, EVENT_ID_DISK_CHANGE);
       REGISTER_CONSTANT(VIR_DOMAIN_EVENT_ID_PMSUSPEND, EVENT_ID_PMSUSPEND);
       REGISTER_CONSTANT(VIR_DOMAIN_EVENT_ID_PMSUSPEND_DISK, 
EVENT_ID_PMSUSPEND_DISK);
@@ -7599,4 +7700,5 @@
       REGISTER_CONSTANT(VIR_ERR_ACCESS_DENIED, ERR_ACCESS_DENIED);
       REGISTER_CONSTANT(VIR_ERR_DBUS_SERVICE, ERR_DBUS_SERVICE);
       REGISTER_CONSTANT(VIR_ERR_STORAGE_VOL_EXIST, ERR_STORAGE_VOL_EXIST);
+      REGISTER_CONSTANT(VIR_ERR_CPU_INCOMPATIBLE, ERR_CPU_INCOMPATIBLE);
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.2.5/examples/dhcp-leases.pl 
new/Sys-Virt-1.2.6/examples/dhcp-leases.pl
--- old/Sys-Virt-1.2.5/examples/dhcp-leases.pl  1970-01-01 01:00:00.000000000 
+0100
+++ new/Sys-Virt-1.2.6/examples/dhcp-leases.pl  2014-07-02 18:32:01.000000000 
+0200
@@ -0,0 +1,13 @@
+#!/usr/bin/perl
+
+use Sys::Virt;
+use Data::Dumper;
+
+my $c = Sys::Virt->new(uri => "qemu:///system",
+                      readonly => 1);
+
+$n = $c->get_network_by_name("default");
+
+foreach my $lease ($n->get_dhcp_leases()) {
+    print Dumper($lease);
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.2.5/examples/node-info.pl 
new/Sys-Virt-1.2.6/examples/node-info.pl
--- old/Sys-Virt-1.2.5/examples/node-info.pl    2014-06-02 12:00:18.000000000 
+0200
+++ new/Sys-Virt-1.2.6/examples/node-info.pl    2014-07-02 18:32:01.000000000 
+0200
@@ -14,3 +14,8 @@
 my @models = $hv->get_cpu_model_names($info->{model});
 
 print join ("\n", sort{ lc $a cmp lc $b } @models), "\n";
+
+my @info = $hv->get_node_free_pages([2048], 0, 0);
+
+use Data::Dumper;
+print Dumper(\@info);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.2.5/lib/Sys/Virt/Domain.pm 
new/Sys-Virt-1.2.6/lib/Sys/Virt/Domain.pm
--- old/Sys-Virt-1.2.5/lib/Sys/Virt/Domain.pm   2014-06-02 12:00:18.000000000 
+0200
+++ new/Sys-Virt-1.2.6/lib/Sys/Virt/Domain.pm   2014-07-02 18:32:01.000000000 
+0200
@@ -2471,7 +2471,13 @@
 
 =item Sys::Virt::Domain::EVENT_ID_BLOCK_JOB
 
-Completion status of asynchronous block jobs
+Completion status of asynchronous block jobs,
+identified by source file name.
+
+=item Sys::Virt::Domain::EVENT_ID_BLOCK_JOB_2
+
+Completion status of asynchronous block jobs,
+identified by target device name.
 
 =item Sys::Virt::Domain::EVENT_ID_DISK_CHANGE
 
@@ -2652,6 +2658,10 @@
 
 The block commit job type
 
+=item Sys::Virt::Domain::BLOCK_JOB_TYPE_ACTIVE_COMMIT
+
+The block active commit job type
+
 =back
 
 =head2 DOMAIN BLOCK JOB COMPLETION CONSTANTS
@@ -2733,6 +2743,10 @@
 
 NULL base means next backing file, not whole chain
 
+=item Sys::Virt::Domain::BLOCK_COMMIT_ACTIVE
+
+Allow two phase commit when top is active layer
+
 =back
 
 =head2 DOMAIN SAVE / RESTORE CONSTANTS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.2.5/lib/Sys/Virt/Error.pm 
new/Sys-Virt-1.2.6/lib/Sys/Virt/Error.pm
--- old/Sys-Virt-1.2.5/lib/Sys/Virt/Error.pm    2014-06-02 12:00:18.000000000 
+0200
+++ new/Sys-Virt-1.2.6/lib/Sys/Virt/Error.pm    2014-07-02 18:32:01.000000000 
+0200
@@ -748,6 +748,10 @@
 
 The storage volume already exists
 
+=item Sys::Virt::Error::ERR_CPU_INCOMPATIBLE
+
+The CPUs are not compatible
+
 =back
 
 =head1 AUTHORS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.2.5/lib/Sys/Virt/Network.pm 
new/Sys-Virt-1.2.6/lib/Sys/Virt/Network.pm
--- old/Sys-Virt-1.2.5/lib/Sys/Virt/Network.pm  2014-06-02 12:00:18.000000000 
+0200
+++ new/Sys-Virt-1.2.6/lib/Sys/Virt/Network.pm  2014-07-02 18:32:01.000000000 
+0200
@@ -143,6 +143,56 @@
 Set the state of the autostart flag, which determines whether the
 virtual network will automatically start upon boot of the host OS.
 
+=item @leases = $net->get_dhcp_leases($mac=undef, $flags=0)
+
+Get a list of all active DHCP leases. If C<$mac> is undefined than
+leases for all VMs are returned, otherwise only leases for the
+matching MAC address are returned. The C<$flags> parameter is
+currently unused and defaults to zero.
+
+The elements in the returned array are hash references with
+the following fields
+
+=over 4
+
+=item C<iface>
+
+Network interface name
+
+=item C<expirytime>
+
+Seconds since the epoch until the lease expires
+
+=item C<type>
+
+One of the Sys::Virt IP address type constants
+
+=item C<mac>
+
+The MAC address of the lease
+
+=item C<iaid>
+
+The IAID of the client
+
+=item C<ipaddr>
+
+The IP address of the lease
+
+=item C<prefix>
+
+The IP address prefix
+
+=item C<hostname>
+
+The optional hostname associated with the lease
+
+=item C<clientid>
+
+The client ID or DUID
+
+=back
+
 =back
 
 =head1 CONSTANTS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.2.5/lib/Sys/Virt.pm 
new/Sys-Virt-1.2.6/lib/Sys/Virt.pm
--- old/Sys-Virt-1.2.5/lib/Sys/Virt.pm  2014-06-02 12:00:18.000000000 +0200
+++ new/Sys-Virt-1.2.6/lib/Sys/Virt.pm  2014-07-02 18:32:01.000000000 +0200
@@ -78,7 +78,7 @@
 use Sys::Virt::DomainSnapshot;
 use Sys::Virt::Stream;
 
-our $VERSION = '1.2.5';
+our $VERSION = '1.2.6';
 require XSLoader;
 XSLoader::load('Sys::Virt', $VERSION);
 
@@ -1615,7 +1615,17 @@
 Checks whether the CPU definition in C<$xml> is compatible with the
 current hypervisor connection. This can be used to determine whether
 it is safe to migrate a guest to this host. The returned result is
-one of the constants listed later
+one of the constants listed later The optional C<$flags> parameter
+can take one of the following constants
+
+=over 4
+
+=item Sys::Virt::COMPARE_CPU_FAIL_INCOMPATIBLE
+
+Raise a fatal error if the CPUs are not compatible, instead of
+just returning a special error code.
+
+=back
 
 =item $mem = $con->get_node_free_memory();
 
@@ -1625,6 +1635,19 @@
 
 Returns the free memory on each NUMA cell between C<$start> and C<$end>.
 
+=item @pages = $con->get_node_free_pages(\@pagesizes, $start, $end);
+
+Returns information about the number of pages free on each NUMA cell
+between C<$start> and C<$end> inclusive. The C<@pagesizes> parameter
+should be an arrayref specifying which pages sizes information should
+be returned for. Information about supported page sizes is available
+in the capabilities XML. The returned array has an element for each
+NUMA cell requested. The elements are hash references with two keys,
+'cell' specifies the NUMA cell number and 'pages' specifies the
+free page information for that cell. The 'pages' value is another
+hash reference where the keys are the page sizes and the values
+are the free count for that size.
+
 =back
 
 =head1 CONSTANTS
@@ -1870,6 +1893,22 @@
 
 =back
 
+=head2 IP address constants
+
+The following constants are used to interpret IP address types
+
+=over 4
+
+=item Sys::Virt::IP_ADDR_TYPE_IPV4
+
+An IPv4 address type
+
+=item Sys::Virt::IP_ADDR_TYPE_IPV6
+
+An IPv6 address type
+
+=back
+
 =head1 BUGS
 
 Hopefully none, but the XS code needs to be audited to ensure it
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.2.5/perl-Sys-Virt.spec 
new/Sys-Virt-1.2.6/perl-Sys-Virt.spec
--- old/Sys-Virt-1.2.5/perl-Sys-Virt.spec       2014-06-02 12:00:30.000000000 
+0200
+++ new/Sys-Virt-1.2.6/perl-Sys-Virt.spec       2014-07-02 18:32:13.000000000 
+0200
@@ -1,7 +1,7 @@
 # Automatically generated by perl-Sys-Virt.spec.PL
 
 Name:           perl-Sys-Virt
-Version:        1.2.5
+Version:        1.2.6
 Release:        1%{?dist}%{?extra_release}
 Summary:        Represent and manage a libvirt hypervisor connection
 License:        GPLv2+ or Artistic
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.2.5/t/030-api-coverage.t 
new/Sys-Virt-1.2.6/t/030-api-coverage.t
--- old/Sys-Virt-1.2.5/t/030-api-coverage.t     2014-06-02 12:00:18.000000000 
+0200
+++ new/Sys-Virt-1.2.6/t/030-api-coverage.t     2014-07-02 18:32:01.000000000 
+0200
@@ -127,6 +127,8 @@
 virTypedParamsGetString
 virTypedParamsGetUInt
 virTypedParamsGetULLong
+
+virNetworkDHCPLeaseFree
 );
 
 foreach my $func (sort { $a cmp $b } @functions) {

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to