Hello community,

here is the log from the commit of package perl-Sys-Virt for openSUSE:Factory 
checked in at 2016-10-20 23:09:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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      
2016-08-31 00:11:20.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Sys-Virt.new/perl-Sys-Virt.changes 
2016-10-20 23:10:19.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Oct 12 22:40:22 UTC 2016 - [email protected]
+
+- Update to 2.3.0
+  - Add all new APIs and constants in libvirt 2.3.0
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ perl-Sys-Virt.spec ++++++
--- /var/tmp/diff_new_pack.ygmyU0/_old  2016-10-20 23:10:20.000000000 +0200
+++ /var/tmp/diff_new_pack.ygmyU0/_new  2016-10-20 23:10:20.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Sys-Virt
-Version:        2.1.0
+Version:        2.3.0
 Release:        0
 %define cpan_name Sys-Virt
 Summary:        Represent and manage a libvirt hypervisor connection

++++++ Sys-Virt-2.1.0.tar.gz -> Sys-Virt-2.3.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-2.1.0/Changes new/Sys-Virt-2.3.0/Changes
--- old/Sys-Virt-2.1.0/Changes  2016-08-02 18:54:59.000000000 +0200
+++ new/Sys-Virt-2.3.0/Changes  2016-10-06 13:00:21.000000000 +0200
@@ -1,5 +1,21 @@
 Revision history for perl module Sys::Virt
 
+2.3.0 2016-10-06
+
+ - Add PERF_PARAM_CACHE_MISSES, PERF_PARAM_CACHE_REFERENCES,
+   PERF_PARAM_CPU_CYCLES, PERF_PARAM_INSTRUCTIONS constants
+ - Add USAGE_TYPE_TLS
+ - Add ERR_AGENT_UNSYNCED
+ - Add VIR_DOMAIN_UNDEFINE_KEEP_NVRAM constant
+
+2.2.0 2016-09-05
+
+ - Add virConnectNodeDeviceEventRegisterAny and
+   virConnectNodeDeviceEventDeregisterAny and associated
+   constants
+ - Add new I/O thread tuning constants
+ - Add VIR_NODE_DEVICE_EVENT_ID_UPDATE constant
+
 2.1.0 2016-08-02
 
  - Add VIR_DOMAIN_MEMORY_STAT_USABLE and
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-2.1.0/META.yml new/Sys-Virt-2.3.0/META.yml
--- old/Sys-Virt-2.1.0/META.yml 2016-08-02 19:23:40.000000000 +0200
+++ new/Sys-Virt-2.3.0/META.yml 2016-10-06 13:00:34.000000000 +0200
@@ -1,7 +1,7 @@
 --- #YAML:1.0
 name:         Sys-Virt
 abstract:     Extension for the libvirt library
-version:      2.1.0
+version:      2.3.0
 author:
   - Daniel P. Berrange <[email protected]>
 license: perl
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-2.1.0/MYMETA.json 
new/Sys-Virt-2.3.0/MYMETA.json
--- old/Sys-Virt-2.1.0/MYMETA.json      2016-08-02 19:23:27.000000000 +0200
+++ new/Sys-Virt-2.3.0/MYMETA.json      2016-10-06 13:00:25.000000000 +0200
@@ -42,6 +42,6 @@
       }
    },
    "release_status" : "stable",
-   "version" : "v2.1.0",
+   "version" : "v2.3.0",
    "x_serialization_backend" : "JSON::PP version 2.27400"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-2.1.0/MYMETA.yml 
new/Sys-Virt-2.3.0/MYMETA.yml
--- old/Sys-Virt-2.1.0/MYMETA.yml       2016-08-02 19:23:27.000000000 +0200
+++ new/Sys-Virt-2.3.0/MYMETA.yml       2016-10-06 13:00:25.000000000 +0200
@@ -24,5 +24,5 @@
   Test::Pod::Coverage: '0'
   Time::HiRes: '0'
   XML::XPath: '0'
-version: v2.1.0
+version: v2.3.0
 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-2.1.0/Makefile.PL 
new/Sys-Virt-2.3.0/Makefile.PL
--- old/Sys-Virt-2.1.0/Makefile.PL      2016-08-02 18:54:59.000000000 +0200
+++ new/Sys-Virt-2.3.0/Makefile.PL      2016-10-06 13:00:21.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 = "2.1.0";
+my $libvirtver = "2.3.0";
 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-2.1.0/README new/Sys-Virt-2.3.0/README
--- old/Sys-Virt-2.1.0/README   2016-08-02 18:54:59.000000000 +0200
+++ new/Sys-Virt-2.3.0/README   2016-10-06 13:00:21.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 2.1.0
+The current minimum required version of libvirt is 2.3.0
 
 -- End
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-2.1.0/Virt.xs new/Sys-Virt-2.3.0/Virt.xs
--- old/Sys-Virt-2.1.0/Virt.xs  2016-08-02 18:54:59.000000000 +0200
+++ new/Sys-Virt-2.3.0/Virt.xs  2016-10-06 13:00:21.000000000 +0200
@@ -1247,6 +1247,82 @@
 }
 
 
+static int
+_node_device_event_generic_callback(virConnectPtr con,
+                                   virNodeDevicePtr dev,
+                                   void *opaque)
+{
+    AV *data = opaque;
+    SV **self;
+    SV **cb;
+    SV *devref;
+    dSP;
+
+    self = av_fetch(data, 0, 0);
+    cb = av_fetch(data, 1, 0);
+
+    SvREFCNT_inc(*self);
+
+    ENTER;
+    SAVETMPS;
+
+    PUSHMARK(SP);
+    XPUSHs(*self);
+    devref = sv_newmortal();
+    sv_setref_pv(devref, "Sys::Virt::NodeDevice", (void*)dev);
+    virNodeDeviceRef(dev);
+    XPUSHs(devref);
+    PUTBACK;
+
+    call_sv(*cb, G_DISCARD);
+
+    FREETMPS;
+    LEAVE;
+
+    return 0;
+}
+
+
+static int
+_node_device_event_lifecycle_callback(virConnectPtr con,
+                                      virNodeDevicePtr dev,
+                                      int event,
+                                      int detail,
+                                      void *opaque)
+{
+    AV *data = opaque;
+    SV **self;
+    SV **cb;
+    SV *devref;
+    dSP;
+
+    self = av_fetch(data, 0, 0);
+    cb = av_fetch(data, 1, 0);
+
+    SvREFCNT_inc(*self);
+
+    ENTER;
+    SAVETMPS;
+
+    PUSHMARK(SP);
+    XPUSHs(*self);
+    devref = sv_newmortal();
+    sv_setref_pv(devref, "Sys::Virt::NodeDevice", (void*)dev);
+    virNodeDeviceRef(dev);
+    XPUSHs(devref);
+    XPUSHs(sv_2mortal(newSViv(event)));
+    XPUSHs(sv_2mortal(newSViv(detail)));
+    PUTBACK;
+
+    call_sv(*cb, G_DISCARD);
+
+    FREETMPS;
+    LEAVE;
+
+    return 0;
+}
+
+
 static void
 _domain_event_free(void *opaque)
 {
@@ -1272,6 +1348,14 @@
 
 
 static void
+_node_device_event_free(void *opaque)
+{
+  SV *sv = opaque;
+  SvREFCNT_dec(sv);
+}
+
+
+static void
 _close_callback(virConnectPtr con,
                 int reason,
                 void *opaque)
@@ -3244,14 +3328,14 @@
 PREINIT:
       AV *opaque;
       virConnectPtr con;
-      virStoragePoolPtr net;
+      virStoragePoolPtr pool;
       virConnectStoragePoolEventGenericCallback callback;
     CODE:
       con = (virConnectPtr)SvIV((SV*)SvRV(conref));
       if (SvROK(poolref)) {
-          net = (virStoragePoolPtr)SvIV((SV*)SvRV(poolref));
+          pool = (virStoragePoolPtr)SvIV((SV*)SvRV(poolref));
       } else {
-          net = NULL;
+          pool = NULL;
       }
 
       switch (eventID) {
@@ -3271,7 +3355,7 @@
       SvREFCNT_inc(conref);
       av_push(opaque, conref);
       av_push(opaque, cb);
-      if ((RETVAL = virConnectStoragePoolEventRegisterAny(con, net, eventID, 
callback, opaque, _storage_pool_event_free)) < 0)
+      if ((RETVAL = virConnectStoragePoolEventRegisterAny(con, pool, eventID, 
callback, opaque, _storage_pool_event_free)) < 0)
           _croak_error();
 OUTPUT:
       RETVAL
@@ -3285,6 +3369,56 @@
       virConnectStoragePoolEventDeregisterAny(con, callbackID);
 
 
+int
+node_device_event_register_any(conref, devref, eventID, cb)
+      SV* conref;
+      SV* devref;
+      int eventID;
+      SV* cb;
+PREINIT:
+      AV *opaque;
+      virConnectPtr con;
+      virNodeDevicePtr dev;
+      virConnectNodeDeviceEventGenericCallback callback;
+    CODE:
+      con = (virConnectPtr)SvIV((SV*)SvRV(conref));
+      if (SvROK(devref)) {
+          dev = (virNodeDevicePtr)SvIV((SV*)SvRV(devref));
+      } else {
+          dev = NULL;
+      }
+
+      switch (eventID) {
+      case VIR_NODE_DEVICE_EVENT_ID_LIFECYCLE:
+          callback = 
VIR_NODE_DEVICE_EVENT_CALLBACK(_node_device_event_lifecycle_callback);
+          break;
+      case VIR_NODE_DEVICE_EVENT_ID_UPDATE:
+          callback = 
VIR_NODE_DEVICE_EVENT_CALLBACK(_node_device_event_generic_callback);
+          break;
+      default:
+          callback = 
VIR_NODE_DEVICE_EVENT_CALLBACK(_node_device_event_generic_callback);
+          break;
+      }
+
+      opaque = newAV();
+      SvREFCNT_inc(cb);
+      SvREFCNT_inc(conref);
+      av_push(opaque, conref);
+      av_push(opaque, cb);
+      if ((RETVAL = virConnectNodeDeviceEventRegisterAny(con, dev, eventID, 
callback, opaque, _node_device_event_free)) < 0)
+          _croak_error();
+OUTPUT:
+      RETVAL
+
+
+void
+node_device_event_deregister_any(con, callbackID)
+      virConnectPtr con;
+      int callbackID;
+ PPCODE:
+      virConnectNodeDeviceEventDeregisterAny(con, callbackID);
+
+
 void
 register_close_callback(conref, cb)
       SV* conref;
@@ -7730,6 +7864,7 @@
       REGISTER_CONSTANT(VIR_DOMAIN_UNDEFINE_MANAGED_SAVE, 
UNDEFINE_MANAGED_SAVE);
       REGISTER_CONSTANT(VIR_DOMAIN_UNDEFINE_SNAPSHOTS_METADATA, 
UNDEFINE_SNAPSHOTS_METADATA);
       REGISTER_CONSTANT(VIR_DOMAIN_UNDEFINE_NVRAM, UNDEFINE_NVRAM);
+      REGISTER_CONSTANT(VIR_DOMAIN_UNDEFINE_KEEP_NVRAM, UNDEFINE_KEEP_NVRAM);
 
       REGISTER_CONSTANT(VIR_DOMAIN_START_PAUSED, START_PAUSED);
       REGISTER_CONSTANT(VIR_DOMAIN_START_AUTODESTROY, START_AUTODESTROY);
@@ -7798,6 +7933,8 @@
 
       REGISTER_CONSTANT_STR(VIR_DOMAIN_SCHEDULER_EMULATOR_PERIOD, 
SCHEDULER_EMULATOR_PERIOD);
       REGISTER_CONSTANT_STR(VIR_DOMAIN_SCHEDULER_EMULATOR_QUOTA, 
SCHEDULER_EMULATOR_QUOTA);
+      REGISTER_CONSTANT_STR(VIR_DOMAIN_SCHEDULER_IOTHREAD_PERIOD, 
SCHEDULER_IOTHREAD_PERIOD);
+      REGISTER_CONSTANT_STR(VIR_DOMAIN_SCHEDULER_IOTHREAD_QUOTA, 
SCHEDULER_IOTHREAD_QUOTA);
 
       REGISTER_CONSTANT_STR(VIR_DOMAIN_CPU_STATS_CPUTIME, CPU_STATS_CPUTIME);
       REGISTER_CONSTANT_STR(VIR_DOMAIN_CPU_STATS_SYSTEMTIME, 
CPU_STATS_SYSTEMTIME);
@@ -8153,6 +8290,10 @@
       REGISTER_CONSTANT_STR(VIR_PERF_PARAM_CMT, PERF_PARAM_CMT);
       REGISTER_CONSTANT_STR(VIR_PERF_PARAM_MBML, PERF_PARAM_MBML);
       REGISTER_CONSTANT_STR(VIR_PERF_PARAM_MBMT, PERF_PARAM_MBMT);
+      REGISTER_CONSTANT_STR(VIR_PERF_PARAM_CACHE_MISSES, 
PERF_PARAM_CACHE_MISSES);
+      REGISTER_CONSTANT_STR(VIR_PERF_PARAM_CACHE_REFERENCES, 
PERF_PARAM_CACHE_REFERENCES);
+      REGISTER_CONSTANT_STR(VIR_PERF_PARAM_CPU_CYCLES, PERF_PARAM_CPU_CYCLES);
+      REGISTER_CONSTANT_STR(VIR_PERF_PARAM_INSTRUCTIONS, 
PERF_PARAM_INSTRUCTIONS);
 
       REGISTER_CONSTANT_STR(VIR_DOMAIN_BANDWIDTH_IN_AVERAGE, 
BANDWIDTH_IN_AVERAGE);
       REGISTER_CONSTANT_STR(VIR_DOMAIN_BANDWIDTH_IN_PEAK, BANDWIDTH_IN_PEAK);
@@ -8322,6 +8463,8 @@
       REGISTER_CONSTANT_STR(VIR_DOMAIN_TUNABLE_CPU_EMULATORPIN, 
TUNABLE_CPU_EMULATORPIN);
       REGISTER_CONSTANT_STR(VIR_DOMAIN_TUNABLE_CPU_EMULATOR_PERIOD, 
TUNABLE_CPU_EMULATOR_PERIOD);
       REGISTER_CONSTANT_STR(VIR_DOMAIN_TUNABLE_CPU_EMULATOR_QUOTA, 
TUNABLE_CPU_EMULATOR_QUOTA);
+      REGISTER_CONSTANT_STR(VIR_DOMAIN_TUNABLE_CPU_IOTHREAD_PERIOD, 
TUNABLE_CPU_IOTHREAD_PERIOD);
+      REGISTER_CONSTANT_STR(VIR_DOMAIN_TUNABLE_CPU_IOTHREAD_QUOTA, 
TUNABLE_CPU_IOTHREAD_QUOTA);
       REGISTER_CONSTANT_STR(VIR_DOMAIN_TUNABLE_CPU_VCPUPIN, 
TUNABLE_CPU_VCPUPIN);
       REGISTER_CONSTANT_STR(VIR_DOMAIN_TUNABLE_CPU_VCPU_PERIOD, 
TUNABLE_CPU_VCPU_PERIOD);
       REGISTER_CONSTANT_STR(VIR_DOMAIN_TUNABLE_CPU_VCPU_QUOTA, 
TUNABLE_CPU_VCPU_QUOTA);
@@ -8499,6 +8642,12 @@
       REGISTER_CONSTANT(VIR_CONNECT_LIST_NODE_DEVICES_CAP_VPORTS, 
LIST_CAP_VPORTS);
       REGISTER_CONSTANT(VIR_CONNECT_LIST_NODE_DEVICES_CAP_SCSI_GENERIC, 
LIST_CAP_SCSI_GENERIC);
 
+      REGISTER_CONSTANT(VIR_NODE_DEVICE_EVENT_ID_LIFECYCLE, 
EVENT_ID_LIFECYCLE);
+      REGISTER_CONSTANT(VIR_NODE_DEVICE_EVENT_ID_UPDATE, EVENT_ID_UPDATE);
+
+      REGISTER_CONSTANT(VIR_NODE_DEVICE_EVENT_CREATED, EVENT_CREATED);
+      REGISTER_CONSTANT(VIR_NODE_DEVICE_EVENT_DELETED, EVENT_DELETED);
+
 
       stash = gv_stashpv( "Sys::Virt::StorageVol", TRUE );
       REGISTER_CONSTANT(VIR_STORAGE_VOL_FILE, TYPE_FILE);
@@ -8537,6 +8686,7 @@
       REGISTER_CONSTANT(VIR_SECRET_USAGE_TYPE_VOLUME, USAGE_TYPE_VOLUME);
       REGISTER_CONSTANT(VIR_SECRET_USAGE_TYPE_CEPH, USAGE_TYPE_CEPH);
       REGISTER_CONSTANT(VIR_SECRET_USAGE_TYPE_ISCSI, USAGE_TYPE_ISCSI);
+      REGISTER_CONSTANT(VIR_SECRET_USAGE_TYPE_TLS, USAGE_TYPE_TLS);
 
 
       REGISTER_CONSTANT(VIR_CONNECT_LIST_SECRETS_EPHEMERAL, LIST_EPHEMERAL);
@@ -8726,4 +8876,5 @@
       REGISTER_CONSTANT(VIR_ERR_AUTH_UNAVAILABLE, ERR_AUTH_UNAVAILABLE);
       REGISTER_CONSTANT(VIR_ERR_NO_SERVER, ERR_NO_SERVER);
       REGISTER_CONSTANT(VIR_ERR_NO_CLIENT, ERR_NO_CLIENT);
+      REGISTER_CONSTANT(VIR_ERR_AGENT_UNSYNCED, ERR_AGENT_UNSYNCED);
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-2.1.0/lib/Sys/Virt/Domain.pm 
new/Sys-Virt-2.3.0/lib/Sys/Virt/Domain.pm
--- old/Sys-Virt-2.1.0/lib/Sys/Virt/Domain.pm   2016-08-02 18:54:59.000000000 
+0200
+++ new/Sys-Virt-2.3.0/lib/Sys/Virt/Domain.pm   2016-10-06 13:00:21.000000000 
+0200
@@ -2403,6 +2403,11 @@
 Also remove any NVRAM state file when undefining the virtual
 domain.
 
+=item Sys::Virt::Domain::UNDEFINE_KEEP_NVRAM
+
+keep NVRAM state file when undefining the virtual
+domain.
+
 =back
 
 =head2 JOB TYPES
@@ -2707,6 +2712,33 @@
 bandwidth (bytes/s) from one level of cache to another. It
 corresponds to the "perf.mbmt" field in the *Stats APIs.
 
+=item Sys::Virt::Domain::PERF_PARAM_CACHE_MISSES
+
+The cache_misses perf event counter which can be used to measure
+the count of cache misses by applications running on the
+platform. It corresponds to the "perf.cache_misses" field in the
+*Stats APIs.
+
+=item Sys::Virt::Domain::PERF_PARAM_CACHE_REFERENCES
+
+The cache_references perf event counter which can be used to
+measure the count of cache hits by applications running on the
+platform. It corresponds to the "perf.cache_references" field in
+the *Stats APIs.
+
+=item Sys::Virt::Domain::PERF_PARAM_CPU_CYCLES
+
+The instructions perf event counter which can be used to measure
+the count of instructions by applications running on the
+platform. It corresponds to the "perf.instructions" field in the
+*Stats APIs.
+
+=item Sys::Virt::Domain::PERF_PARAM_INSTRUCTIONS
+
+The cpu_cycles perf event counter which can be used to measure
+how many cpu cycles one instruction needs.  It corresponds to the
+"perf.cpu_cycles" field in the *Stats APIs.
+
 =back
 
 =head2 VCPU FLAGS
@@ -3767,6 +3799,14 @@
 
 The quota for the emulator in one schedular time period
 
+=item Sys::Virt::SCHEDULER_IOTHREAD_PERIOD
+
+The duration of the time period for scheduling the iothread
+
+=item Sys::Virt::SCHEDULER_IOTHREAD_QUOTA
+
+The quota for the iothread in one schedular time period
+
 =back
 
 =head2 DOMAIN STATS FLAG CONSTANTS
@@ -4148,6 +4188,14 @@
 
 Emulator thread CPU quota
 
+=item Sys::Virt::Domain::TUNABLE_CPU_IOTHREAD_PERIOD
+
+Iothread thread CPU period
+
+=item Sys::Virt::Domain::TUNABLE_CPU_IOTHREAD_QUOTA
+
+Iothread thread CPU quota
+
 =item Sys::Virt::Domain::TUNABLE_CPU_VCPUPIN
 
 VCPU thread pinning mask
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-2.1.0/lib/Sys/Virt/Error.pm 
new/Sys-Virt-2.3.0/lib/Sys/Virt/Error.pm
--- old/Sys-Virt-2.1.0/lib/Sys/Virt/Error.pm    2016-08-02 18:54:59.000000000 
+0200
+++ new/Sys-Virt-2.3.0/lib/Sys/Virt/Error.pm    2016-10-06 13:00:21.000000000 
+0200
@@ -796,6 +796,10 @@
 
 Libvirt client was not found
 
+=item Sys::Virt::Error::ERR_AGENT_UNSYNCED
+
+Libvirt guest agent replies with wrong id to guest-sync command
+
 =back
 
 =head1 AUTHORS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-2.1.0/lib/Sys/Virt/NodeDevice.pm 
new/Sys-Virt-2.3.0/lib/Sys/Virt/NodeDevice.pm
--- old/Sys-Virt-2.1.0/lib/Sys/Virt/NodeDevice.pm       2016-08-02 
18:54:59.000000000 +0200
+++ new/Sys-Virt-2.3.0/lib/Sys/Virt/NodeDevice.pm       2016-10-06 
13:00:21.000000000 +0200
@@ -167,6 +167,38 @@
 
 =back
 
+=head2 EVENT ID CONSTANTS
+
+=over 4
+
+=item Sys::Virt::NodeDevice::EVENT_ID_LIFECYCLE
+
+Node device lifecycle events
+
+=item Sys::Virt::NodeDevice::EVENT_ID_UPDATE
+
+Node device config update events
+
+=back
+
+=head2 LIFECYCLE CHANGE EVENTS
+
+The following constants allow node device lifecycle change events to be
+interpreted. The events contain both a state change, and a
+reason though the reason is currently unsed.
+
+=over 4
+
+=item Sys::Virt::StoragePool::EVENT_CREATED
+
+Indicates that a device was created
+
+=item Sys::Virt::StoragePool::EVENT_DELETED
+
+Indicates that a device has been deleted
+
+=back
+
 =cut
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-2.1.0/lib/Sys/Virt/Secret.pm 
new/Sys-Virt-2.3.0/lib/Sys/Virt/Secret.pm
--- old/Sys-Virt-2.1.0/lib/Sys/Virt/Secret.pm   2016-08-02 18:54:59.000000000 
+0200
+++ new/Sys-Virt-2.3.0/lib/Sys/Virt/Secret.pm   2016-10-06 13:00:21.000000000 
+0200
@@ -149,6 +149,13 @@
 to iSCSI storage volumes. The usage ID for secrets will refer to
 the server name.
 
+=item Sys::Virt::Secret::USAGE_TYPE_TLS
+
+The constant for secrets which are to be used for authenticating
+for the TLS environment. The usage ID for the secret can be any
+name. The UUID for the secret will be used by the hypervisor to
+fetch the secret value.
+
 =back
 
 =head2 LIST FILTERING
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-2.1.0/lib/Sys/Virt.pm 
new/Sys-Virt-2.3.0/lib/Sys/Virt.pm
--- old/Sys-Virt-2.1.0/lib/Sys/Virt.pm  2016-08-02 18:54:59.000000000 +0200
+++ new/Sys-Virt-2.3.0/lib/Sys/Virt.pm  2016-10-06 13:00:21.000000000 +0200
@@ -78,7 +78,7 @@
 use Sys::Virt::DomainSnapshot;
 use Sys::Virt::Stream;
 
-our $VERSION = '2.1.0';
+our $VERSION = '2.3.0';
 require XSLoader;
 XSLoader::load('Sys::Virt', $VERSION);
 
@@ -1616,6 +1616,38 @@
 Unregister a callback, associated with the C<$callbackID> previously
 obtained from C<storage_pool_event_register_any>.
 
+=item $callback = $conn->node_device_event_register_any($dev, $eventID, 
$callback)
+
+Register a callback to received notifications of node device events.
+The C<$dev> parameter can be C<undef> to request events on all
+known node devices, or a specific C<Sys::Virt::NodeDevice> object
+to filter events. The C<$eventID> parameter is one of the EVENT ID
+constants described later in this document. The C<$callback> is
+a subroutine reference that will receive the events.
+
+All callbacks receive a C<Sys::Virt> connection as the first parameter
+and a C<Sys::Virt::NodeDevice> object indicating the node device on
+which the event occurred as the second parameter. Subsequent parameters
+vary according to the event type
+
+=over
+
+=item EVENT_ID_LIFECYCLE
+
+Extra C<event> and C<detail> parameters defining the lifecycle
+transition that occurred.
+
+=back
+
+The return value is a unique callback ID that must be used when
+unregistering the event.
+
+
+=item $conn->node_device_event_deregister_any($callbackID)
+
+Unregister a callback, associated with the C<$callbackID> previously
+obtained from C<node_device_event_register_any>.
+
 =item $conn->register_close_callback($coderef);
 
 Register a callback to be invoked when the connection is closed.
@@ -1717,7 +1749,7 @@
 
 =item $con->node_alloc_pages(\@pages, $start, $end, $flags=0)
 
-Allocate further huge pages for the reserved pool. The <\@pages>
+Allocate further huge pages for the reserved dev. The <\@pages>
 parameter is an array reference with one entry per page size to
 allocate for. Each entry is a further array reference where the
 first element is the page size and the second element is the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-2.1.0/perl-Sys-Virt.spec 
new/Sys-Virt-2.3.0/perl-Sys-Virt.spec
--- old/Sys-Virt-2.1.0/perl-Sys-Virt.spec       2016-08-02 19:23:40.000000000 
+0200
+++ new/Sys-Virt-2.3.0/perl-Sys-Virt.spec       2016-10-06 13:00:34.000000000 
+0200
@@ -1,7 +1,7 @@
 # Automatically generated by perl-Sys-Virt.spec.PL
 
 Name:           perl-Sys-Virt
-Version:        2.1.0
+Version:        2.3.0
 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-2.1.0/t/030-api-coverage.t 
new/Sys-Virt-2.3.0/t/030-api-coverage.t
--- old/Sys-Virt-2.1.0/t/030-api-coverage.t     2016-08-02 18:54:59.000000000 
+0200
+++ new/Sys-Virt-2.3.0/t/030-api-coverage.t     2016-10-06 13:00:21.000000000 
+0200
@@ -99,6 +99,8 @@
 
 virConnectStoragePoolEventLifecycleCallback
 
+virConnectNodeDeviceEventLifecycleCallback
+
 virEventAddHandleFunc
 virEventAddTimeoutFunc
 virEventRemoveHandleFunc
@@ -176,6 +178,7 @@
 VIR_DOMAIN_EVENT_CALLBACK
 VIR_NETWORK_EVENT_CALLBACK
 VIR_STORAGE_POOL_EVENT_CALLBACK
+VIR_NODE_DEVICE_EVENT_CALLBACK
 VIR_DOMAIN_MEMORY_FIELD_LENGTH
 VIR_DOMAIN_MEMORY_PARAM_UNLIMITED
 VIR_DOMAIN_SCHED_FIELD_LENGTH

++++++ suse-set-migration-constraints.patch ++++++
--- /var/tmp/diff_new_pack.ygmyU0/_old  2016-10-20 23:10:20.000000000 +0200
+++ /var/tmp/diff_new_pack.ygmyU0/_new  2016-10-20 23:10:20.000000000 +0200
@@ -2,11 +2,11 @@
 
 References: fate#316614, bsc#859868
 
-Index: Sys-Virt-2.1.0/Virt.xs
+Index: Sys-Virt-2.3.0/Virt.xs
 ===================================================================
---- Sys-Virt-2.1.0.orig/Virt.xs
-+++ Sys-Virt-2.1.0/Virt.xs
-@@ -4639,7 +4639,7 @@ _migrate(dom, destcon, newparams, flags=
+--- Sys-Virt-2.3.0.orig/Virt.xs
++++ Sys-Virt-2.3.0/Virt.xs
+@@ -4773,7 +4773,7 @@ _migrate(dom, destcon, newparams, flags=
       virTypedParameterPtr params;
       int nparams;
      CODE:
@@ -15,7 +15,7 @@
       Newx(params, nparams, virTypedParameter);
  
       strncpy(params[0].field, VIR_MIGRATE_PARAM_URI,
-@@ -4702,6 +4702,22 @@ _migrate(dom, destcon, newparams, flags=
+@@ -4836,6 +4836,22 @@ _migrate(dom, destcon, newparams, flags=
               VIR_TYPED_PARAM_FIELD_LENGTH);
       params[14].type = VIR_TYPED_PARAM_INT;
  
@@ -38,7 +38,7 @@
       nparams = vir_typed_param_from_hv(newparams, params, nparams);
  
       vir_typed_param_add_string_list_from_hv(newparams, &params, &nparams,
-@@ -4730,7 +4746,7 @@ _migrate_to_uri(dom, desturi, newparams,
+@@ -4864,7 +4880,7 @@ _migrate_to_uri(dom, desturi, newparams,
       virTypedParameterPtr params;
       int nparams;
    PPCODE:
@@ -47,7 +47,7 @@
       Newx(params, nparams, virTypedParameter);
  
       strncpy(params[0].field, VIR_MIGRATE_PARAM_URI,
-@@ -4793,6 +4809,22 @@ _migrate_to_uri(dom, desturi, newparams,
+@@ -4927,6 +4943,22 @@ _migrate_to_uri(dom, desturi, newparams,
               VIR_TYPED_PARAM_FIELD_LENGTH);
       params[14].type = VIR_TYPED_PARAM_INT;
  
@@ -70,7 +70,7 @@
       nparams = vir_typed_param_from_hv(newparams, params, nparams);
  
       vir_typed_param_add_string_list_from_hv(newparams, &params, &nparams,
-@@ -7848,6 +7880,10 @@ BOOT:
+@@ -7985,6 +8017,10 @@ BOOT:
        REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_PERSIST_XML, 
MIGRATE_PARAM_PERSIST_XML);
        REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_AUTO_CONVERGE_INITIAL, 
MIGRATE_PARAM_AUTO_CONVERGE_INITIAL);
        REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_AUTO_CONVERGE_INCREMENT, 
MIGRATE_PARAM_AUTO_CONVERGE_INCREMENT);
@@ -81,10 +81,10 @@
  
        REGISTER_CONSTANT(VIR_DOMAIN_XML_SECURE, XML_SECURE);
        REGISTER_CONSTANT(VIR_DOMAIN_XML_INACTIVE, XML_INACTIVE);
-Index: Sys-Virt-2.1.0/lib/Sys/Virt/Domain.pm
+Index: Sys-Virt-2.3.0/lib/Sys/Virt/Domain.pm
 ===================================================================
---- Sys-Virt-2.1.0.orig/lib/Sys/Virt/Domain.pm
-+++ Sys-Virt-2.1.0/lib/Sys/Virt/Domain.pm
+--- Sys-Virt-2.3.0.orig/lib/Sys/Virt/Domain.pm
++++ Sys-Virt-2.3.0/lib/Sys/Virt/Domain.pm
 @@ -1096,6 +1096,22 @@ The initial percentage to throttle guest
  The additional percentage step size to throttle guest vCPUs if
  progress is not made


Reply via email to