Hello community,

here is the log from the commit of package perl-Sys-Virt for openSUSE:Factory 
checked in at 2016-04-28 16:55:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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-03-08 10:18:10.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Sys-Virt.new/perl-Sys-Virt.changes 
2016-04-28 16:58:10.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Apr 12 23:51:53 UTC 2016 - [email protected]
+
+- Update to 1.3.3
+  - Add all new APIs and constants in libvirt 1.3.3
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ perl-Sys-Virt.spec ++++++
--- /var/tmp/diff_new_pack.riHU5D/_old  2016-04-28 16:58:12.000000000 +0200
+++ /var/tmp/diff_new_pack.riHU5D/_new  2016-04-28 16:58:12.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Sys-Virt
-Version:        1.3.2
+Version:        1.3.3
 Release:        0
 %define cpan_name Sys-Virt
 Summary:        Represent and manage a libvirt hypervisor connection

++++++ Sys-Virt-1.3.2.tar.gz -> Sys-Virt-1.3.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.3.2/AUTHORS new/Sys-Virt-1.3.3/AUTHORS
--- old/Sys-Virt-1.3.2/AUTHORS  2016-03-01 16:11:02.000000000 +0100
+++ new/Sys-Virt-1.3.3/AUTHORS  2016-04-07 18:56:33.000000000 +0200
@@ -13,5 +13,6 @@
    Ludwig Nussel     <ludwig-dot-nussel-at-suse-dot-de>
    Zhe Peng          <zpeng-at-redhat-dot-com>
    Osier Yang        <jyang-at-redhat-dot-com>
+   Michal Privoznik  <mprivozn-at-redhat-dot-com>
 
 -- End
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.3.2/Changes new/Sys-Virt-1.3.3/Changes
--- old/Sys-Virt-1.3.2/Changes  2016-03-01 16:11:02.000000000 +0100
+++ new/Sys-Virt-1.3.3/Changes  2016-04-07 18:56:33.000000000 +0200
@@ -1,5 +1,19 @@
 Revision history for perl module Sys::Virt
 
+1.3.3 2016-04-07
+
+ - Add VIR_ERR_AUTH_UNAVAILABLE constant
+ - Add VIR_DOMAIN_SCHEDULER_GLOBAL_PERIOD, VIR_DOMAIN_SCHEDULER_GLOBAL_QUOTA,
+   VIR_DOMAIN_TUNABLE_CPU_GLOBAL_PERIOD & VIR_DOMAIN_TUNABLE_CPU_GLOBAL_QUOTA
+   constants
+ - Add VIR_DOMAIN_EVENT_ID_JOB_COMPLETED constant and callback
+ - Add VIR_ERR_NO_SERVER constant
+ - Add VIR_DOMAIN_EVENT_DEFINED_FROM_SNAPSHOT constant
+ - Add VIR_MIGRATE_PARAM_DISKS_PORT constant
+ - Add virDomainMigrateStartPostCopy API support
+ - Add constants related to post-copy migration
+ - Add APIS & constants for new perf event support
+
 1.3.2 2016-03-01
 
  - Add VIR_STORAGE_VOL_WIPE_ALG_TRIM constant
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.3.2/META.yml new/Sys-Virt-1.3.3/META.yml
--- old/Sys-Virt-1.3.2/META.yml 2016-03-01 16:11:16.000000000 +0100
+++ new/Sys-Virt-1.3.3/META.yml 2016-04-07 18:56:50.000000000 +0200
@@ -1,7 +1,7 @@
 --- #YAML:1.0
 name:         Sys-Virt
 abstract:     Extension for the libvirt library
-version:      1.3.2
+version:      1.3.3
 author:
   - Daniel P. Berrange <[email protected]>
 license: perl
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.3.2/MYMETA.json 
new/Sys-Virt-1.3.3/MYMETA.json
--- old/Sys-Virt-1.3.2/MYMETA.json      2016-03-01 16:11:07.000000000 +0100
+++ new/Sys-Virt-1.3.3/MYMETA.json      2016-04-07 18:56:41.000000000 +0200
@@ -42,6 +42,6 @@
       }
    },
    "release_status" : "stable",
-   "version" : "v1.3.2",
+   "version" : "v1.3.3",
    "x_serialization_backend" : "JSON::PP version 2.27300"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.3.2/MYMETA.yml 
new/Sys-Virt-1.3.3/MYMETA.yml
--- old/Sys-Virt-1.3.2/MYMETA.yml       2016-03-01 16:11:07.000000000 +0100
+++ new/Sys-Virt-1.3.3/MYMETA.yml       2016-04-07 18:56:41.000000000 +0200
@@ -24,5 +24,5 @@
   Test::Pod::Coverage: '0'
   Time::HiRes: '0'
   XML::XPath: '0'
-version: v1.3.2
+version: v1.3.3
 x_serialization_backend: 'CPAN::Meta::YAML version 0.016'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.3.2/Makefile.PL 
new/Sys-Virt-1.3.3/Makefile.PL
--- old/Sys-Virt-1.3.2/Makefile.PL      2016-03-01 16:11:02.000000000 +0100
+++ new/Sys-Virt-1.3.3/Makefile.PL      2016-04-07 18:56:33.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.3.2";
+my $libvirtver = "1.3.3";
 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.3.2/README new/Sys-Virt-1.3.3/README
--- old/Sys-Virt-1.3.2/README   2016-03-01 16:11:02.000000000 +0100
+++ new/Sys-Virt-1.3.3/README   2016-04-07 18:56:33.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.3.2
+The current minimum required version of libvirt is 1.3.3
 
 -- End
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.3.2/Virt.xs new/Sys-Virt-1.3.3/Virt.xs
--- old/Sys-Virt-1.3.2/Virt.xs  2016-03-01 16:11:02.000000000 +0100
+++ new/Sys-Virt-1.3.3/Virt.xs  2016-04-07 18:56:33.000000000 +0200
@@ -1091,6 +1091,49 @@
 
 
 static int
+_domain_event_job_completed_callback(virConnectPtr con,
+                                    virDomainPtr dom,
+                                    virTypedParameterPtr params,
+                                    int nparams,
+                                    void *opaque)
+{
+    AV *data = opaque;
+    SV **self;
+    SV **cb;
+    HV *params_hv;
+    SV *domref;
+    dSP;
+
+    self = av_fetch(data, 0, 0);
+    cb = av_fetch(data, 1, 0);
+
+    SvREFCNT_inc(*self);
+
+    ENTER;
+    SAVETMPS;
+
+    PUSHMARK(SP);
+    XPUSHs(*self);
+    domref = sv_newmortal();
+    sv_setref_pv(domref, "Sys::Virt::Domain", (void*)dom);
+    virDomainRef(dom);
+
+    params_hv = vir_typed_param_to_hv(params, nparams);
+
+    XPUSHs(domref);
+    XPUSHs(newRV(( SV*)params_hv));
+    PUTBACK;
+
+    call_sv(*cb, G_DISCARD);
+
+    FREETMPS;
+    LEAVE;
+
+    return 0;
+}
+
+
+static int
 _network_event_lifecycle_callback(virConnectPtr con,
                                  virNetworkPtr net,
                                  int event,
@@ -3069,6 +3112,9 @@
       case VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION:
           callback = 
VIR_DOMAIN_EVENT_CALLBACK(_domain_event_migration_iteration_callback);
           break;
+      case VIR_DOMAIN_EVENT_ID_JOB_COMPLETED:
+          callback = 
VIR_DOMAIN_EVENT_CALLBACK(_domain_event_job_completed_callback);
+          break;
       default:
           callback = VIR_DOMAIN_EVENT_CALLBACK(_domain_event_generic_callback);
           break;
@@ -4167,6 +4213,46 @@
       Safefree(params);
 
 
+HV *
+get_perf_events(dom, flags=0)
+      virDomainPtr dom;
+      unsigned int flags;
+  PREINIT:
+      virTypedParameter *params = NULL;
+      int nparams = 0;
+    CODE:
+      if (virDomainGetPerfEvents(dom, &params, &nparams, flags) < 0) {
+          Safefree(params);
+          _croak_error();
+      }
+
+      RETVAL = vir_typed_param_to_hv(params, nparams);
+      Safefree(params);
+  OUTPUT:
+      RETVAL
+
+
+void
+set_perf_events(dom, newparams, flags=0)
+      virDomainPtr dom;
+      HV *newparams;
+      unsigned int flags;
+  PREINIT:
+      virTypedParameter *params = NULL;
+      int nparams = 0;
+    PPCODE:
+      if (virDomainGetPerfEvents(dom, &params, &nparams, flags) < 0) {
+          Safefree(params);
+          _croak_error();
+      }
+
+      nparams = vir_typed_param_from_hv(newparams, params, nparams);
+
+      if (virDomainSetPerfEvents(dom, params, nparams, flags) < 0)
+          _croak_error();
+      Safefree(params);
+
+
 unsigned long
 get_max_memory(dom)
       virDomainPtr dom;
@@ -4433,7 +4519,7 @@
      virTypedParameter *params;
      int nparams;
     CODE:
-     nparams = 6;
+     nparams = 7;
      Newx(params, nparams, virTypedParameter);
 
      strncpy(params[0].field, VIR_MIGRATE_PARAM_URI,
@@ -4460,6 +4546,10 @@
              VIR_TYPED_PARAM_FIELD_LENGTH);
      params[5].type = VIR_TYPED_PARAM_STRING;
 
+     strncpy(params[6].field, VIR_MIGRATE_PARAM_DISKS_PORT,
+             VIR_TYPED_PARAM_FIELD_LENGTH);
+     params[6].type = VIR_TYPED_PARAM_INT;
+
      nparams = vir_typed_param_from_hv(newparams, params, nparams);
 
      vir_typed_param_add_string_list_from_hv(newparams, &params, &nparams,
@@ -4488,7 +4578,7 @@
      virTypedParameter *params;
      int nparams;
   PPCODE:
-     nparams = 6;
+     nparams = 7;
      Newx(params, nparams, virTypedParameter);
 
      strncpy(params[0].field, VIR_MIGRATE_PARAM_URI,
@@ -4515,6 +4605,10 @@
              VIR_TYPED_PARAM_FIELD_LENGTH);
      params[5].type = VIR_TYPED_PARAM_STRING;
 
+     strncpy(params[6].field, VIR_MIGRATE_PARAM_DISKS_PORT,
+             VIR_TYPED_PARAM_FIELD_LENGTH);
+     params[6].type = VIR_TYPED_PARAM_INT;
+
      nparams = vir_typed_param_from_hv(newparams, params, nparams);
 
      vir_typed_param_add_string_list_from_hv(newparams, &params, &nparams,
@@ -4598,6 +4692,15 @@
 
 
 void
+migrate_start_post_copy(dom, flags=0)
+      virDomainPtr dom;
+      unsigned int flags;
+  PPCODE:
+      if (virDomainMigrateStartPostCopy(dom, flags) < 0)
+          _croak_error();
+
+
+void
 attach_device(dom, xml, flags=0)
       virDomainPtr dom;
       const char *xml;
@@ -7456,6 +7559,7 @@
       REGISTER_CONSTANT(VIR_DOMAIN_RUNNING_SAVE_CANCELED, 
STATE_RUNNING_SAVE_CANCELED);
       REGISTER_CONSTANT(VIR_DOMAIN_RUNNING_WAKEUP, STATE_RUNNING_WAKEUP);
       REGISTER_CONSTANT(VIR_DOMAIN_RUNNING_CRASHED, STATE_RUNNING_CRASHED);
+      REGISTER_CONSTANT(VIR_DOMAIN_RUNNING_POSTCOPY, STATE_RUNNING_POSTCOPY);
 
       REGISTER_CONSTANT(VIR_DOMAIN_BLOCKED_UNKNOWN, STATE_BLOCKED_UNKNOWN);
 
@@ -7471,6 +7575,8 @@
       REGISTER_CONSTANT(VIR_DOMAIN_PAUSED_SNAPSHOT, STATE_PAUSED_SNAPSHOT);
       REGISTER_CONSTANT(VIR_DOMAIN_PAUSED_CRASHED, STATE_PAUSED_CRASHED);
       REGISTER_CONSTANT(VIR_DOMAIN_PAUSED_STARTING_UP, 
STATE_PAUSED_STARTING_UP);
+      REGISTER_CONSTANT(VIR_DOMAIN_PAUSED_POSTCOPY, STATE_PAUSED_POSTCOPY);
+      REGISTER_CONSTANT(VIR_DOMAIN_PAUSED_POSTCOPY_FAILED, 
STATE_PAUSED_POSTCOPY_FAILED);
 
       REGISTER_CONSTANT(VIR_DOMAIN_SHUTDOWN_UNKNOWN, STATE_SHUTDOWN_UNKNOWN);
       REGISTER_CONSTANT(VIR_DOMAIN_SHUTDOWN_USER, STATE_SHUTDOWN_USER);
@@ -7532,6 +7638,7 @@
       REGISTER_CONSTANT(VIR_MIGRATE_ABORT_ON_ERROR, MIGRATE_ABORT_ON_ERROR);
       REGISTER_CONSTANT(VIR_MIGRATE_AUTO_CONVERGE, MIGRATE_AUTO_CONVERGE);
       REGISTER_CONSTANT(VIR_MIGRATE_RDMA_PIN_ALL, MIGRATE_RDMA_PIN_ALL);
+      REGISTER_CONSTANT(VIR_MIGRATE_POSTCOPY, MIGRATE_POSTCOPY);
 
       REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_BANDWIDTH, 
MIGRATE_PARAM_BANDWIDTH);
       REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_DEST_NAME, 
MIGRATE_PARAM_DEST_NAME);
@@ -7540,6 +7647,7 @@
       REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_URI, MIGRATE_PARAM_URI);
       REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_LISTEN_ADDRESS, 
MIGRATE_PARAM_LISTEN_ADDRESS);
       REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_MIGRATE_DISKS, 
MIGRATE_PARAM_MIGRATE_DISKS);
+      REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_DISKS_PORT, 
MIGRATE_PARAM_DISK_PORT);
 
       REGISTER_CONSTANT(VIR_DOMAIN_XML_SECURE, XML_SECURE);
       REGISTER_CONSTANT(VIR_DOMAIN_XML_INACTIVE, XML_INACTIVE);
@@ -7573,6 +7681,7 @@
       REGISTER_CONSTANT(VIR_DOMAIN_STATS_INTERFACE, STATS_INTERFACE);
       REGISTER_CONSTANT(VIR_DOMAIN_STATS_STATE, STATS_STATE);
       REGISTER_CONSTANT(VIR_DOMAIN_STATS_VCPU, STATS_VCPU);
+      REGISTER_CONSTANT(VIR_DOMAIN_STATS_PERF, STATS_PERF);
 
       REGISTER_CONSTANT(VIR_CONNECT_GET_ALL_DOMAINS_STATS_ACTIVE, 
GET_ALL_STATS_ACTIVE);
       REGISTER_CONSTANT(VIR_CONNECT_GET_ALL_DOMAINS_STATS_INACTIVE, 
GET_ALL_STATS_INACTIVE);
@@ -7599,6 +7708,7 @@
       REGISTER_CONSTANT(VIR_DOMAIN_EVENT_DEFINED_ADDED, EVENT_DEFINED_ADDED);
       REGISTER_CONSTANT(VIR_DOMAIN_EVENT_DEFINED_UPDATED, 
EVENT_DEFINED_UPDATED);
       REGISTER_CONSTANT(VIR_DOMAIN_EVENT_DEFINED_RENAMED, 
EVENT_DEFINED_RENAMED);
+      REGISTER_CONSTANT(VIR_DOMAIN_EVENT_DEFINED_FROM_SNAPSHOT, 
EVENT_DEFINED_FROM_SNAPSHOT);
 
       REGISTER_CONSTANT(VIR_DOMAIN_EVENT_UNDEFINED_REMOVED, 
EVENT_UNDEFINED_REMOVED);
       REGISTER_CONSTANT(VIR_DOMAIN_EVENT_UNDEFINED_RENAMED, 
EVENT_UNDEFINED_RENAMED);
@@ -7618,10 +7728,13 @@
       REGISTER_CONSTANT(VIR_DOMAIN_EVENT_SUSPENDED_RESTORED, 
EVENT_SUSPENDED_RESTORED);
       REGISTER_CONSTANT(VIR_DOMAIN_EVENT_SUSPENDED_FROM_SNAPSHOT, 
EVENT_SUSPENDED_FROM_SNAPSHOT);
       REGISTER_CONSTANT(VIR_DOMAIN_EVENT_SUSPENDED_API_ERROR, 
EVENT_SUSPENDED_API_ERROR);
+      REGISTER_CONSTANT(VIR_DOMAIN_EVENT_SUSPENDED_POSTCOPY, 
EVENT_SUSPENDED_POSTCOPY);
+      REGISTER_CONSTANT(VIR_DOMAIN_EVENT_SUSPENDED_POSTCOPY_FAILED, 
EVENT_SUSPENDED_POSTCOPY_FAILED);
 
       REGISTER_CONSTANT(VIR_DOMAIN_EVENT_RESUMED_UNPAUSED, 
EVENT_RESUMED_UNPAUSED);
       REGISTER_CONSTANT(VIR_DOMAIN_EVENT_RESUMED_MIGRATED, 
EVENT_RESUMED_MIGRATED);
       REGISTER_CONSTANT(VIR_DOMAIN_EVENT_RESUMED_FROM_SNAPSHOT, 
EVENT_RESUMED_FROM_SNAPSHOT);
+      REGISTER_CONSTANT(VIR_DOMAIN_EVENT_RESUMED_POSTCOPY, 
EVENT_RESUMED_POSTCOPY);
 
       REGISTER_CONSTANT(VIR_DOMAIN_EVENT_STOPPED_SHUTDOWN, 
EVENT_STOPPED_SHUTDOWN);
       REGISTER_CONSTANT(VIR_DOMAIN_EVENT_STOPPED_DESTROYED, 
EVENT_STOPPED_DESTROYED);
@@ -7738,6 +7851,7 @@
       REGISTER_CONSTANT(VIR_DOMAIN_EVENT_ID_TUNABLE, EVENT_ID_TUNABLE);
       REGISTER_CONSTANT(VIR_DOMAIN_EVENT_ID_AGENT_LIFECYCLE, 
EVENT_ID_AGENT_LIFECYCLE);
       REGISTER_CONSTANT(VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION, 
EVENT_ID_MIGRATION_ITERATION);
+      REGISTER_CONSTANT(VIR_DOMAIN_EVENT_ID_JOB_COMPLETED, 
EVENT_ID_JOB_COMPLETED);
 
       REGISTER_CONSTANT(VIR_DOMAIN_EVENT_WATCHDOG_NONE, EVENT_WATCHDOG_NONE);
       REGISTER_CONSTANT(VIR_DOMAIN_EVENT_WATCHDOG_PAUSE, EVENT_WATCHDOG_PAUSE);
@@ -7788,6 +7902,8 @@
       REGISTER_CONSTANT_STR(VIR_DOMAIN_SCHEDULER_CPU_SHARES, 
SCHEDULER_CPU_SHARES);
       REGISTER_CONSTANT_STR(VIR_DOMAIN_SCHEDULER_VCPU_PERIOD, 
SCHEDULER_VCPU_PERIOD);
       REGISTER_CONSTANT_STR(VIR_DOMAIN_SCHEDULER_VCPU_QUOTA, 
SCHEDULER_VCPU_QUOTA);
+      REGISTER_CONSTANT_STR(VIR_DOMAIN_SCHEDULER_GLOBAL_PERIOD, 
SCHEDULER_GLOBAL_PERIOD);
+      REGISTER_CONSTANT_STR(VIR_DOMAIN_SCHEDULER_GLOBAL_QUOTA, 
SCHEDULER_GLOBAL_QUOTA);
       REGISTER_CONSTANT_STR(VIR_DOMAIN_SCHEDULER_WEIGHT, SCHEDULER_WEIGHT);
       REGISTER_CONSTANT_STR(VIR_DOMAIN_SCHEDULER_CAP, SCHEDULER_CAP);
       REGISTER_CONSTANT_STR(VIR_DOMAIN_SCHEDULER_LIMIT, SCHEDULER_LIMIT);
@@ -7830,6 +7946,7 @@
       REGISTER_CONSTANT(VIR_DOMAIN_NUMATUNE_MEM_PREFERRED, 
NUMATUNE_MEM_PREFERRED);
       REGISTER_CONSTANT(VIR_DOMAIN_NUMATUNE_MEM_INTERLEAVE, 
NUMATUNE_MEM_INTERLEAVE);
 
+      REGISTER_CONSTANT_STR(VIR_PERF_PARAM_CMT, PERF_PARAM_CMT);
 
       REGISTER_CONSTANT_STR(VIR_DOMAIN_BANDWIDTH_IN_AVERAGE, 
BANDWIDTH_IN_AVERAGE);
       REGISTER_CONSTANT_STR(VIR_DOMAIN_BANDWIDTH_IN_PEAK, BANDWIDTH_IN_PEAK);
@@ -8002,6 +8119,8 @@
       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);
+      REGISTER_CONSTANT_STR(VIR_DOMAIN_TUNABLE_CPU_GLOBAL_PERIOD, 
TUNABLE_CPU_GLOBAL_PERIOD);
+      REGISTER_CONSTANT_STR(VIR_DOMAIN_TUNABLE_CPU_GLOBAL_QUOTA, 
TUNABLE_CPU_GLOBAL_QUOTA);
       REGISTER_CONSTANT_STR(VIR_DOMAIN_TUNABLE_BLKDEV_DISK, 
TUNABLE_BLKDEV_DISK);
       REGISTER_CONSTANT_STR(VIR_DOMAIN_TUNABLE_BLKDEV_READ_BYTES_SEC, 
TUNABLE_BLKDEV_READ_BYTES_SEC);
       REGISTER_CONSTANT_STR(VIR_DOMAIN_TUNABLE_BLKDEV_READ_IOPS_SEC, 
TUNABLE_BLKDEV_READ_IOPS_SEC);
@@ -8291,6 +8410,7 @@
       REGISTER_CONSTANT(VIR_FROM_ADMIN, FROM_ADMIN);
       REGISTER_CONSTANT(VIR_FROM_LOGGING, FROM_LOGGING);
       REGISTER_CONSTANT(VIR_FROM_XENXL, FROM_XENXL);
+      REGISTER_CONSTANT(VIR_FROM_PERF, FROM_PERF);
 
 
       REGISTER_CONSTANT(VIR_ERR_OK, ERR_OK);
@@ -8387,4 +8507,6 @@
       REGISTER_CONSTANT(VIR_ERR_CPU_INCOMPATIBLE, ERR_CPU_INCOMPATIBLE);
       REGISTER_CONSTANT(VIR_ERR_XML_INVALID_SCHEMA, ERR_INVALID_SCHEMA);
       REGISTER_CONSTANT(VIR_ERR_MIGRATE_FINISH_OK, ERR_MIGRATE_FINISH_OK);
+      REGISTER_CONSTANT(VIR_ERR_AUTH_UNAVAILABLE, ERR_AUTH_UNAVAILABLE);
+      REGISTER_CONSTANT(VIR_ERR_NO_SERVER, ERR_NO_SERVER);
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.3.2/lib/Sys/Virt/Domain.pm 
new/Sys-Virt-1.3.3/lib/Sys/Virt/Domain.pm
--- old/Sys-Virt-1.3.2/lib/Sys/Virt/Domain.pm   2016-03-01 16:11:02.000000000 
+0100
+++ new/Sys-Virt-1.3.3/lib/Sys/Virt/Domain.pm   2016-04-07 18:56:33.000000000 
+0200
@@ -360,6 +360,14 @@
 
 The guest is paused as it is being started up.
 
+=item Sys::Virt::Domain::STATE_PAUSED_POSTCOPY
+
+The guest is paused as post-copy migration is taking place
+
+=item Sys::Virt::Domain::STATE_PAUSED_POSTCOPY_FAILED
+
+The guest is paused as post-copy migration failed
+
 =item Sys::Virt::Domain::STATE_RUNNING_BOOTED
 
 The guest is running after being booted
@@ -400,6 +408,10 @@
 
 The guest was restarted after crashing
 
+=item Sys::Virt::Domain::STATE_RUNNING_POSTCOPY
+
+The guest is running but post-copy is taking place
+
 =item Sys::Virt::Domain::STATE_BLOCKED_UNKNOWN
 
 The guest is blocked for an unknown reason
@@ -800,6 +812,23 @@
 parameter accepts one or more the CONFIG OPTION constants
 documented later, and defaults to 0 if omitted.
 
+=item my $params = $dom->get_perf_events($flags=0)
+
+Return a hash reference containing the set of performance
+events that are available for the guest. The keys in the
+hash are one of the constants PERF EVENTS described later.
+The C<$flags> parameter accepts one or more the CONFIG
+OPTION constants documented later, and defaults to 0 if
+omitted.
+
+=item $dom->set_perf_events($params, $flags=0)
+
+Update the enabled state for performance events for the
+guest. The C<$params> should be a hash reference whose
+keys are one of the PERF EVENTS constants. The C<$flags>
+parameter accepts one or more the CONFIG OPTION constants
+documented later, and defaults to 0 if omitted.
+
 =item $dom->block_resize($disk, $newsize, $flags=0)
 
 Resize the disk C<$disk> to have new size C<$newsize> KB. If the disk
@@ -981,6 +1010,12 @@
 untrusted users have the ability to connect to the virtualization
 host, thus use of an explicit restricted listen address is recommended.
 
+=item C<Sys::Virt::Domain::MIGRATE_PARAM_DISK_PORT>
+
+Port that destination server should use for incoming disks migration. Type is
+VIR_TYPED_PARAM_INT. If set to 0 or omitted, libvirt will choose a suitable
+default. At the moment this is only supported by the QEMU driver.
+
 =back
 
 =item C<Sys::Virt::Domain::MIGRATE_PARAM_MIGRATE_DISKS>
@@ -1133,7 +1168,7 @@
 }
 
 
-=item $dom->migrate_set_max_downtime($downtime, $flags)
+=item $dom->migrate_set_max_downtime($downtime, $flags=0)
 
 Set the maximum allowed downtime during migration of the guest. A
 longer downtime makes it more likely that migration will complete,
@@ -1141,30 +1176,36 @@
 over point. The C<downtime> parameter is measured in milliseconds.
 The C<$flags> parameter is currently unused and defaults to zero.
 
-=item $dom->migrate_set_max_speed($bandwidth, $flags)
+=item $dom->migrate_set_max_speed($bandwidth, $flags=0)
 
 Set the maximum allowed bandwidth during migration of the guest.
 The C<bandwidth> parameter is measured in MB/second.
 The C<$flags> parameter is currently unused and defaults to zero.
 
-=item $bandwidth = $dom->migrate_get_max_speed($flag)
+=item $bandwidth = $dom->migrate_get_max_speed($flags=0)
 
 Get the maximum allowed bandwidth during migration fo the guest.
 The returned <bandwidth> value is measured in MB/second.
 The C<$flags> parameter is currently unused and defaults to zero.
 
-=item $dom->migrate_set_compression_cache($cacheSize, $flags)
+=item $dom->migrate_set_compression_cache($cacheSize, $flags=0)
 
 Set the maximum allowed compression cache size during migration of
 the guest. The C<cacheSize> parameter is measured in bytes.
 The C<$flags> parameter is currently unused and defaults to zero.
 
-=item $cacheSize = $dom->migrate_get_compression_cache($flag)
+=item $cacheSize = $dom->migrate_get_compression_cache($flags=0)
 
 Get the maximum allowed compression cache size during migration of
 the guest. The returned <bandwidth> value is measured in bytes.
 The C<$flags> parameter is currently unused and defaults to zero.
 
+=item $dom->migrate_start_post_copy($flags=0)
+
+Switch the domain from pre-copy to post-copy mode. This requires
+that the original migrate command had the 
C<Sys::Virt::Domain::MIGRATE_POST_COPY>
+flag specified.
+
 =item $dom->inject_nmi($flags)
 
 Trigger an NMI in the guest virtual machine. The C<$flags> parameter
@@ -2257,6 +2298,10 @@
 
 Pin memory for RDMA transfer
 
+=item Sys::Virt::Domain::MIGRATE_POSTCOPY
+
+Enable support for post-copy migration
+
 =back
 
 =head2 UNDEFINE CONSTANTS
@@ -2473,6 +2518,14 @@
 
 The VCPU quota tunable
 
+=item Sys::Virt::Domain::SCHEDULER_GLOBAL_PERIOD
+
+The VM global period tunable
+
+=item Sys::Virt::Domain::SCHEDULER_GLOBAL_QUOTA
+
+The VM global quota tunable
+
 =item Sys::Virt::Domain::SCHEDULER_WEIGHT
 
 The VM weight tunable
@@ -2552,6 +2605,19 @@
 
 =back
 
+=head2 PERF EVENTS
+
+The following constants defined performance events
+which can be monitored for a guest
+
+=over 4
+
+=item Sys::Virt::Domain::PERF_PARAM_CMT
+
+The CMT event counter
+
+=back
+
 =head2 VCPU FLAGS
 
 The following constants are useful when getting/setting the
@@ -2608,6 +2674,10 @@
 
 The defined configuration is a rename of an existing configuration
 
+=item Sys::Virt::Domain::EVENT_DEFINED_FROM_SNAPSHOT
+
+The defined configuration was restored from a snapshot
+
 =back
 
 =item Sys::Virt::Domain::EVENT_RESUMED
@@ -2629,6 +2699,10 @@
 
 The domain resumed because it was restored from a snapshot
 
+=item Sys::Virt::Domain::EVENT_RESUMED_POSTCOPY
+
+The domain resumed but post-copy is running in background
+
 =back
 
 =item Sys::Virt::Domain::EVENT_STARTED
@@ -2745,6 +2819,14 @@
 
 The domain has been suspended due to an API error
 
+=item Sys::Virt::Domain::EVENT_SUSPENDED_POSTCOPY
+
+The domain has been suspended for post-copy migration
+
+=item Sys::Virt::Domain::EVENT_SUSPENDED_POSTCOPY_FAILED
+
+The domain has been suspended due post-copy migration failing
+
 =back
 
 =item Sys::Virt::Domain::EVENT_UNDEFINED
@@ -2921,6 +3003,13 @@
 
 =back
 
+=item Sys::Virt::Domain::EVENT_ID_JOB_COMPLETED
+
+Domain background job completion notification. The callback
+provides a hash containing the job stats. The keyus in the
+hash are the same as those used with the C<Sys::Virt::Domain::get_job_stats()>
+method.
+
 =back
 
 =head2 IO ERROR EVENT CONSTANTS
@@ -3657,6 +3746,10 @@
 
 Virtual CPU info
 
+=item Sys::Virt::Domain::STATS_PERF
+
+Performance event counter values
+
 =back
 
 =head2 PROCESS SIGNALS
@@ -3964,6 +4057,14 @@
 
 VCPU thread quota
 
+=item Sys::Virt::Domain::TUNABLE_CPU_GLOBAL_PERIOD
+
+VM global period
+
+=item Sys::Virt::Domain::TUNABLE_CPU_GLOBAL_QUOTA
+
+VM global quota
+
 =item Sys::Virt::Domain::TUNABLE_BLKDEV_DISK
 
 The name of guest disks
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.3.2/lib/Sys/Virt/Error.pm 
new/Sys-Virt-1.3.3/lib/Sys/Virt/Error.pm
--- old/Sys-Virt-1.3.2/lib/Sys/Virt/Error.pm    2016-03-01 16:11:02.000000000 
+0100
+++ new/Sys-Virt-1.3.3/lib/Sys/Virt/Error.pm    2016-04-07 18:56:33.000000000 
+0200
@@ -394,6 +394,10 @@
 
 The Xen XL driver
 
+=item Sys::Virt::Error::FROM_PERF
+
+The performance events subsystem
+
 =back
 
 =head2 ERROR CODE CONSTANTS
@@ -780,6 +784,14 @@
 
 Migration finished but expected to return NULL domain.
 
+=item Sys::Virt::Error::ERR_AUTH_UNAVAILABLE
+
+Authentication services were not available
+
+=item Sys::Virt::Error::ERR_NO_SERVER
+
+Libvirt server was not found
+
 =back
 
 =head1 AUTHORS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.3.2/lib/Sys/Virt.pm 
new/Sys-Virt-1.3.3/lib/Sys/Virt.pm
--- old/Sys-Virt-1.3.2/lib/Sys/Virt.pm  2016-03-01 16:11:02.000000000 +0100
+++ new/Sys-Virt-1.3.3/lib/Sys/Virt.pm  2016-04-07 18:56:33.000000000 +0200
@@ -78,7 +78,7 @@
 use Sys::Virt::DomainSnapshot;
 use Sys::Virt::Stream;
 
-our $VERSION = '1.3.2';
+our $VERSION = '1.3.3';
 require XSLoader;
 XSLoader::load('Sys::Virt', $VERSION);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.3.2/perl-Sys-Virt.spec 
new/Sys-Virt-1.3.3/perl-Sys-Virt.spec
--- old/Sys-Virt-1.3.2/perl-Sys-Virt.spec       2016-03-01 16:11:16.000000000 
+0100
+++ new/Sys-Virt-1.3.3/perl-Sys-Virt.spec       2016-04-07 18:56:50.000000000 
+0200
@@ -1,7 +1,7 @@
 # Automatically generated by perl-Sys-Virt.spec.PL
 
 Name:           perl-Sys-Virt
-Version:        1.3.2
+Version:        1.3.3
 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.3.2/t/030-api-coverage.t 
new/Sys-Virt-1.3.3/t/030-api-coverage.t
--- old/Sys-Virt-1.3.2/t/030-api-coverage.t     2016-03-01 16:11:02.000000000 
+0100
+++ new/Sys-Virt-1.3.3/t/030-api-coverage.t     2016-04-07 18:56:33.000000000 
+0200
@@ -92,6 +92,7 @@
 virConnectDomainEventTunableCallback
 virConnectDomainEventAgentLifecycleCallback
 virConnectDomainEventMigrationIterationCallback
+virConnectDomainEventJobCompletedCallback
 
 virConnectNetworkEventLifecycleCallback
 


Reply via email to