Hello community,

here is the log from the commit of package perl-Sys-Virt for openSUSE:Factory 
checked in at 2017-11-12 18:02:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Sys-Virt (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Sys-Virt.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Sys-Virt"

Sun Nov 12 18:02:14 2017 rev:58 rq:539358 version:3.9.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Sys-Virt/perl-Sys-Virt.changes      
2017-10-11 23:01:38.228156275 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Sys-Virt.new/perl-Sys-Virt.changes 
2017-11-12 18:02:15.357016541 +0100
@@ -1,0 +2,6 @@
+Mon Nov  6 16:47:30 UTC 2017 - [email protected]
+
+- Update to 3.9.0
+  - Add all new APIs and constants in libvirt 3.9.0
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ perl-Sys-Virt.spec ++++++
--- /var/tmp/diff_new_pack.mDM0Ju/_old  2017-11-12 18:02:15.828999349 +0100
+++ /var/tmp/diff_new_pack.mDM0Ju/_new  2017-11-12 18:02:15.828999349 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Sys-Virt
-Version:        3.8.0
+Version:        3.9.0
 Release:        0
 %define cpan_name Sys-Virt
 Summary:        Represent and manage a libvirt hypervisor connection

++++++ Sys-Virt-3.8.0.tar.gz -> Sys-Virt-3.9.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-3.8.0/Changes new/Sys-Virt-3.9.0/Changes
--- old/Sys-Virt-3.8.0/Changes  2017-10-04 18:46:22.000000000 +0200
+++ new/Sys-Virt-3.9.0/Changes  2017-11-03 18:10:56.000000000 +0100
@@ -1,5 +1,10 @@
 Revision history for perl module Sys::Virt
 
+3.9.0 2017-11-03
+
+ - Add VIR_DOMAIN_JOB_MEMORY_PAGE_SIZE constant
+ - Add set_lifecycle_action
+
 3.8.0 2017-10-04
 
  - Add VIR_STORAGE_POOL_EVENT_{DELETED,CREATED} constants
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-3.8.0/META.yml new/Sys-Virt-3.9.0/META.yml
--- old/Sys-Virt-3.8.0/META.yml 2017-10-04 18:47:21.000000000 +0200
+++ new/Sys-Virt-3.9.0/META.yml 2017-11-03 18:11:05.000000000 +0100
@@ -1,7 +1,7 @@
 --- #YAML:1.0
 name:         Sys-Virt
 abstract:     Extension for the libvirt library
-version:      3.8.0
+version:      3.9.0
 author:
   - Daniel P. Berrange <[email protected]>
 license: perl
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-3.8.0/MYMETA.json 
new/Sys-Virt-3.9.0/MYMETA.json
--- old/Sys-Virt-3.8.0/MYMETA.json      2017-10-04 18:47:12.000000000 +0200
+++ new/Sys-Virt-3.9.0/MYMETA.json      2017-11-03 18:10:57.000000000 +0100
@@ -42,6 +42,6 @@
       }
    },
    "release_status" : "stable",
-   "version" : "v3.8.0",
+   "version" : "v3.9.0",
    "x_serialization_backend" : "JSON::PP version 2.94"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-3.8.0/MYMETA.yml 
new/Sys-Virt-3.9.0/MYMETA.yml
--- old/Sys-Virt-3.8.0/MYMETA.yml       2017-10-04 18:47:12.000000000 +0200
+++ new/Sys-Virt-3.9.0/MYMETA.yml       2017-11-03 18:10:57.000000000 +0100
@@ -24,5 +24,5 @@
   Test::Pod::Coverage: '0'
   Time::HiRes: '0'
   XML::XPath: '0'
-version: v3.8.0
+version: v3.9.0
 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-3.8.0/Makefile.PL 
new/Sys-Virt-3.9.0/Makefile.PL
--- old/Sys-Virt-3.8.0/Makefile.PL      2017-09-04 15:28:40.000000000 +0200
+++ new/Sys-Virt-3.9.0/Makefile.PL      2017-11-03 18:10:56.000000000 +0100
@@ -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 = "3.8.0";
+my $libvirtver = "3.9.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-3.8.0/README new/Sys-Virt-3.9.0/README
--- old/Sys-Virt-3.8.0/README   2017-09-04 15:28:18.000000000 +0200
+++ new/Sys-Virt-3.9.0/README   2017-11-03 18:10:56.000000000 +0100
@@ -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 3.8.0
+The current minimum required version of libvirt is 3.9.0
 
 -- End
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-3.8.0/Virt.xs new/Sys-Virt-3.9.0/Virt.xs
--- old/Sys-Virt-3.8.0/Virt.xs  2017-09-20 17:00:29.000000000 +0200
+++ new/Sys-Virt-3.9.0/Virt.xs  2017-11-03 18:08:39.000000000 +0100
@@ -6310,6 +6310,16 @@
         _croak_error();
 
 void
+set_lifecycle_action(dom, type, action, flags=0)
+      virDomainPtr dom;
+      unsigned int type;
+      unsigned int action;
+      unsigned int flags;
+PPCODE:
+      if (virDomainSetLifecycleAction(dom, type, action, flags) < 0)
+          _croak_error();
+
+void
 destroy(dom_rv, flags=0)
       SV *dom_rv;
       unsigned int flags;
@@ -8666,6 +8676,7 @@
       REGISTER_CONSTANT_STR(VIR_DOMAIN_JOB_MEMORY_TOTAL, JOB_MEMORY_TOTAL);
       REGISTER_CONSTANT_STR(VIR_DOMAIN_JOB_MEMORY_BPS, JOB_MEMORY_BPS);
       REGISTER_CONSTANT_STR(VIR_DOMAIN_JOB_MEMORY_DIRTY_RATE, 
JOB_MEMORY_DIRTY_RATE);
+      REGISTER_CONSTANT_STR(VIR_DOMAIN_JOB_MEMORY_PAGE_SIZE, 
JOB_MEMORY_PAGE_SIZE);
       REGISTER_CONSTANT_STR(VIR_DOMAIN_JOB_MEMORY_ITERATION, 
JOB_MEMORY_ITERATION);
       REGISTER_CONSTANT_STR(VIR_DOMAIN_JOB_SETUP_TIME, JOB_SETUP_TIME);
       REGISTER_CONSTANT_STR(VIR_DOMAIN_JOB_TIME_ELAPSED, JOB_TIME_ELAPSED);
@@ -9090,6 +9101,19 @@
       REGISTER_CONSTANT(VIR_DOMAIN_SNAPSHOT_REVERT_PAUSED, REVERT_PAUSED);
       REGISTER_CONSTANT(VIR_DOMAIN_SNAPSHOT_REVERT_FORCE, REVERT_FORCE);
 
+      stash = gv_stashpv( "Sys::Virt::Lifecycle", TRUE );
+      REGISTER_CONSTANT(VIR_DOMAIN_LIFECYCLE_POWEROFF, LIFECYCLE_POWEROFF);
+      REGISTER_CONSTANT(VIR_DOMAIN_LIFECYCLE_REBOOT, LIFECYCLE_REBOOT);
+      REGISTER_CONSTANT(VIR_DOMAIN_LIFECYCLE_CRASH, LIFECYCLE_CRASH);
+
+      stash = gv_stashpv( "Sys::Virt::LifecycleAction", TRUE );
+      REGISTER_CONSTANT(VIR_DOMAIN_LIFECYCLE_ACTION_DESTROY, 
LIFECYCLE_ACTION_DESTROY);
+      REGISTER_CONSTANT(VIR_DOMAIN_LIFECYCLE_ACTION_RESTART, 
LIFECYCLE_ACTION_RESTART);
+      REGISTER_CONSTANT(VIR_DOMAIN_LIFECYCLE_ACTION_RESTART_RENAME, 
LIFECYCLE_ACTION_RESTART_RENAME);
+      REGISTER_CONSTANT(VIR_DOMAIN_LIFECYCLE_ACTION_PRESERVE, 
LIFECYCLE_ACTION_PRESERVE);
+      REGISTER_CONSTANT(VIR_DOMAIN_LIFECYCLE_ACTION_COREDUMP_DESTROY, 
LIFECYCLE_ACTION_COREDUMP_DESTROY);
+      REGISTER_CONSTANT(VIR_DOMAIN_LIFECYCLE_ACTION_COREDUMP_RESTART, 
LIFECYCLE_ACTION_COREDUMP_RESTART);
+
       stash = gv_stashpv( "Sys::Virt::StoragePool", TRUE );
       REGISTER_CONSTANT(VIR_STORAGE_POOL_INACTIVE, STATE_INACTIVE);
       REGISTER_CONSTANT(VIR_STORAGE_POOL_BUILDING, STATE_BUILDING);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-3.8.0/lib/Sys/Virt/Domain.pm 
new/Sys-Virt-3.9.0/lib/Sys/Virt/Domain.pm
--- old/Sys-Virt-3.8.0/lib/Sys/Virt/Domain.pm   2017-08-30 17:21:42.000000000 
+0200
+++ new/Sys-Virt-3.9.0/lib/Sys/Virt/Domain.pm   2017-11-03 18:08:39.000000000 
+0100
@@ -1566,6 +1566,10 @@
 
 The number of memory pages dirtied per second
 
+=item Sys::Virt::Domain::JOB_MEMORY_PAGE_SIZE
+
+The memory page size in bytes
+
 =item Sys::Virt::Domain::JOB_MEMORY_ITERATION
 
 The total number of iterations over guest memory
@@ -1995,6 +1999,11 @@
 event might not be delivered at all if libvirtd was not running
 at the moment when the threshold was reached.
 
+=item $dom->set_lifecycle_action($type, $action, $flags=0)
+
+Changes the actions of lifecycle events for domain represented as
+<on_$type>$action</on_$type> in the domain XML.
+
 =back
 
 =head1 CONSTANTS
@@ -4540,6 +4549,57 @@
 
 =back
 
+=head2 DOMAIN LIFECYCLE CONSTANTS
+
+The following constants are useful when setting action for
+lifecycle events.
+
+=over 4
+
+=item Sys::Virt::Domain::LIFECYCLE_POWEROFF
+
+The poweroff lifecycle event type
+
+=item Sys::Virt::Domain::LIFECYCLE_REBOOT
+
+The reboot lifecycle event type
+
+=item Sys::Virt::Domain::LIFECYCLE_CRASH
+
+The crash lifecycle event type
+
+=back
+
+=head2 DOMAIN LIFECYCLE ACTION CONSTANTS
+
+=over 4
+
+=item Sys::Virt::Domain::LIFECYCLE_ACTION_DESTROY
+
+The destroy lifecycle action
+
+=item Sys::Virt::Domain::LIFECYCLE_ACTION_RESTART
+
+The restart lifecycle action
+
+=item Sys::Virt::Domain::LIFECYCLE_ACTION_RESTART_RENAME
+
+The restart-rename lifecycle action
+
+=item Sys::Virt::Domain::LIFECYCLE_ACTION_PRESERVE
+
+The preserve lifecycle action
+
+=item Sys::Virt::Domain::LIFECYCLE_ACTION_COREDUMP_DESTROY
+
+The coredump-destroy lifecycle action
+
+=item Sys::Virt::Domain::LIFECYCLE_ACTION_COREDUMP_RESTART
+
+The coredump-restart lifecycle action
+
+=back
+
 =head1 AUTHORS
 
 Daniel P. Berrange <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-3.8.0/lib/Sys/Virt.pm 
new/Sys-Virt-3.9.0/lib/Sys/Virt.pm
--- old/Sys-Virt-3.8.0/lib/Sys/Virt.pm  2017-09-04 15:28:36.000000000 +0200
+++ new/Sys-Virt-3.9.0/lib/Sys/Virt.pm  2017-11-03 18:10:56.000000000 +0100
@@ -78,7 +78,7 @@
 use Sys::Virt::DomainSnapshot;
 use Sys::Virt::Stream;
 
-our $VERSION = '3.8.0';
+our $VERSION = '3.9.0';
 require XSLoader;
 XSLoader::load('Sys::Virt', $VERSION);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-3.8.0/perl-Sys-Virt.spec 
new/Sys-Virt-3.9.0/perl-Sys-Virt.spec
--- old/Sys-Virt-3.8.0/perl-Sys-Virt.spec       2017-10-04 18:47:21.000000000 
+0200
+++ new/Sys-Virt-3.9.0/perl-Sys-Virt.spec       2017-11-03 18:11:05.000000000 
+0100
@@ -1,7 +1,7 @@
 # Automatically generated by perl-Sys-Virt.spec.PL
 
 Name:           perl-Sys-Virt
-Version:        3.8.0
+Version:        3.9.0
 Release:        1%{?dist}%{?extra_release}
 Summary:        Represent and manage a libvirt hypervisor connection
 License:        GPLv2+ or Artistic

++++++ suse-set-migration-constraints.patch ++++++
--- /var/tmp/diff_new_pack.mDM0Ju/_old  2017-11-12 18:02:15.936995416 +0100
+++ /var/tmp/diff_new_pack.mDM0Ju/_new  2017-11-12 18:02:15.936995416 +0100
@@ -2,10 +2,10 @@
 
 References: fate#316614, bsc#859868
 
-Index: Sys-Virt-3.8.0/Virt.xs
+Index: Sys-Virt-3.9.0/Virt.xs
 ===================================================================
---- Sys-Virt-3.8.0.orig/Virt.xs
-+++ Sys-Virt-3.8.0/Virt.xs
+--- Sys-Virt-3.9.0.orig/Virt.xs
++++ Sys-Virt-3.9.0/Virt.xs
 @@ -5167,7 +5167,7 @@ _migrate(dom, destcon, newparams, flags=
       virTypedParameterPtr params;
       int nparams;
@@ -70,7 +70,7 @@
       nparams = vir_typed_param_from_hv(newparams, params, nparams);
  
       vir_typed_param_add_string_list_from_hv(newparams, &params, &nparams,
-@@ -8504,6 +8536,10 @@ BOOT:
+@@ -8514,6 +8546,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-3.8.0/lib/Sys/Virt/Domain.pm
+Index: Sys-Virt-3.9.0/lib/Sys/Virt/Domain.pm
 ===================================================================
---- Sys-Virt-3.8.0.orig/lib/Sys/Virt/Domain.pm
-+++ Sys-Virt-3.8.0/lib/Sys/Virt/Domain.pm
+--- Sys-Virt-3.9.0.orig/lib/Sys/Virt/Domain.pm
++++ Sys-Virt-3.9.0/lib/Sys/Virt/Domain.pm
 @@ -1111,6 +1111,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