Hello community,

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

Package is "perl-Sys-Virt"

Tue Mar 14 10:06:27 2017 rev:51 rq:479131 version:3.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Sys-Virt/perl-Sys-Virt.changes      
2017-02-04 15:45:10.480126884 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Sys-Virt.new/perl-Sys-Virt.changes 
2017-03-14 10:07:17.310077554 +0100
@@ -1,0 +2,6 @@
+Mon Mar  6 18:38:55 UTC 2017 - [email protected]
+
+- Update to 3.1.0
+  - Add all new APIs and constants in libvirt 3.1.0
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ perl-Sys-Virt.spec ++++++
--- /var/tmp/diff_new_pack.ukfSEu/_old  2017-03-14 10:07:17.913992039 +0100
+++ /var/tmp/diff_new_pack.ukfSEu/_new  2017-03-14 10:07:17.913992039 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Sys-Virt
-Version:        3.0.0
+Version:        3.1.0
 Release:        0
 %define cpan_name Sys-Virt
 Summary:        Represent and manage a libvirt hypervisor connection

++++++ Sys-Virt-3.0.0.tar.gz -> Sys-Virt-3.1.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-3.0.0/Changes new/Sys-Virt-3.1.0/Changes
--- old/Sys-Virt-3.0.0/Changes  2017-01-19 11:18:39.000000000 +0100
+++ new/Sys-Virt-3.1.0/Changes  2017-03-03 17:58:41.000000000 +0100
@@ -1,5 +1,11 @@
 Revision history for perl module Sys::Virt
 
+3.1.0 2017-03-03
+
+ - Add VIR_CONNECT_LIST_STORAGE_POOLS_VSTORAGE constant
+ - Add VIR_CONNECT_LIST_NODE_DEVICES_CAP_DRM constant
+ - Add virDomainSetVcpu API
+
 3.0.0 2017-01-19
 
  - Add group_name for block iotune
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-3.0.0/META.yml new/Sys-Virt-3.1.0/META.yml
--- old/Sys-Virt-3.0.0/META.yml 2017-01-19 12:00:37.000000000 +0100
+++ new/Sys-Virt-3.1.0/META.yml 2017-03-03 17:59:47.000000000 +0100
@@ -1,7 +1,7 @@
 --- #YAML:1.0
 name:         Sys-Virt
 abstract:     Extension for the libvirt library
-version:      3.0.0
+version:      3.1.0
 author:
   - Daniel P. Berrange <[email protected]>
 license: perl
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-3.0.0/MYMETA.json 
new/Sys-Virt-3.1.0/MYMETA.json
--- old/Sys-Virt-3.0.0/MYMETA.json      2017-01-19 12:00:25.000000000 +0100
+++ new/Sys-Virt-3.1.0/MYMETA.json      2017-03-03 17:59:39.000000000 +0100
@@ -42,6 +42,6 @@
       }
    },
    "release_status" : "stable",
-   "version" : "v3.0.0",
+   "version" : "v3.1.0",
    "x_serialization_backend" : "JSON::PP version 2.27400"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-3.0.0/MYMETA.yml 
new/Sys-Virt-3.1.0/MYMETA.yml
--- old/Sys-Virt-3.0.0/MYMETA.yml       2017-01-19 12:00:25.000000000 +0100
+++ new/Sys-Virt-3.1.0/MYMETA.yml       2017-03-03 17:59:39.000000000 +0100
@@ -24,5 +24,5 @@
   Test::Pod::Coverage: '0'
   Time::HiRes: '0'
   XML::XPath: '0'
-version: v3.0.0
+version: v3.1.0
 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-3.0.0/Makefile.PL 
new/Sys-Virt-3.1.0/Makefile.PL
--- old/Sys-Virt-3.0.0/Makefile.PL      2016-12-05 15:03:27.000000000 +0100
+++ new/Sys-Virt-3.1.0/Makefile.PL      2017-01-19 12:05:42.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.0.0";
+my $libvirtver = "3.1.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.0.0/README new/Sys-Virt-3.1.0/README
--- old/Sys-Virt-3.0.0/README   2016-12-05 15:03:20.000000000 +0100
+++ new/Sys-Virt-3.1.0/README   2017-01-19 12:05:37.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.0.0
+The current minimum required version of libvirt is 3.1.0
 
 -- End
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-3.0.0/Virt.xs new/Sys-Virt-3.1.0/Virt.xs
--- old/Sys-Virt-3.0.0/Virt.xs  2017-01-16 18:26:55.000000000 +0100
+++ new/Sys-Virt-3.1.0/Virt.xs  2017-02-23 12:33:46.000000000 +0100
@@ -4724,6 +4724,15 @@
               _croak_error();
       }
 
+void
+set_vcpu(dom, cpumap, state, flags=0)
+    virDomainPtr dom;
+    const char *cpumap;
+    int state;
+    unsigned int flags;
+PPCODE:
+    if (virDomainSetVcpu(dom, cpumap, state, flags) < 0)
+        _croak_error();
 
 int
 get_vcpus(dom, flags=0)
@@ -8773,6 +8782,7 @@
       REGISTER_CONSTANT(VIR_CONNECT_LIST_STORAGE_POOLS_SHEEPDOG, 
LIST_SHEEPDOG);
       REGISTER_CONSTANT(VIR_CONNECT_LIST_STORAGE_POOLS_GLUSTER, LIST_GLUSTER);
       REGISTER_CONSTANT(VIR_CONNECT_LIST_STORAGE_POOLS_ZFS, LIST_ZFS);
+      REGISTER_CONSTANT(VIR_CONNECT_LIST_STORAGE_POOLS_VSTORAGE, 
LIST_VSTORAGE);
 
       REGISTER_CONSTANT(VIR_STORAGE_POOL_EVENT_ID_LIFECYCLE, 
EVENT_ID_LIFECYCLE);
       REGISTER_CONSTANT(VIR_STORAGE_POOL_EVENT_ID_REFRESH, EVENT_ID_REFRESH);
@@ -8846,6 +8856,7 @@
       REGISTER_CONSTANT(VIR_CONNECT_LIST_NODE_DEVICES_CAP_FC_HOST, 
LIST_CAP_FC_HOST);
       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_CONNECT_LIST_NODE_DEVICES_CAP_DRM, LIST_CAP_DRM);
 
       REGISTER_CONSTANT(VIR_NODE_DEVICE_EVENT_ID_LIFECYCLE, 
EVENT_ID_LIFECYCLE);
       REGISTER_CONSTANT(VIR_NODE_DEVICE_EVENT_ID_UPDATE, EVENT_ID_UPDATE);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-3.0.0/lib/Sys/Virt/Domain.pm 
new/Sys-Virt-3.1.0/lib/Sys/Virt/Domain.pm
--- old/Sys-Virt-3.0.0/lib/Sys/Virt/Domain.pm   2017-01-16 18:26:55.000000000 
+0100
+++ new/Sys-Virt-3.1.0/lib/Sys/Virt/Domain.pm   2017-02-23 12:35:03.000000000 
+0100
@@ -689,6 +689,11 @@
 The optional C<$flags> parameter can be used to control whether
 the setting changes the live config or inactive config.
 
+=item $dom->set_vcpu($cpumap, $state, [$flags])
+
+Set the state of the CPUs in C<$cpumap> to C<$state>. The
+C<$flags> parameter defaults to zero if not present.
+
 =item $count = $dom->get_vcpus([$flags])
 
 Get the number of virtual CPUs in the guest VM.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-3.0.0/lib/Sys/Virt/NodeDevice.pm 
new/Sys-Virt-3.1.0/lib/Sys/Virt/NodeDevice.pm
--- old/Sys-Virt-3.0.0/lib/Sys/Virt/NodeDevice.pm       2016-10-26 
12:35:34.000000000 +0200
+++ new/Sys-Virt-3.1.0/lib/Sys/Virt/NodeDevice.pm       2017-02-20 
17:50:50.000000000 +0100
@@ -165,6 +165,10 @@
 
 Include devices with the SCSI generic capability
 
+=item Sys::Virt::NodeDevice::LIST_CAP_DRM
+
+Include devices with the DRM capability
+
 =back
 
 =head2 EVENT ID CONSTANTS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-3.0.0/lib/Sys/Virt/StoragePool.pm 
new/Sys-Virt-3.1.0/lib/Sys/Virt/StoragePool.pm
--- old/Sys-Virt-3.0.0/lib/Sys/Virt/StoragePool.pm      2016-10-26 
12:35:34.000000000 +0200
+++ new/Sys-Virt-3.1.0/lib/Sys/Virt/StoragePool.pm      2017-01-30 
17:09:09.000000000 +0100
@@ -475,6 +475,10 @@
 
 Include ZFS storage pools
 
+=item Sys::Virt::StoragePool::LIST_VSTORAGE
+
+Include VStorage storage pools
+
 =back
 
 =head2 EVENT ID CONSTANTS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-3.0.0/lib/Sys/Virt.pm 
new/Sys-Virt-3.1.0/lib/Sys/Virt.pm
--- old/Sys-Virt-3.0.0/lib/Sys/Virt.pm  2017-01-10 11:10:06.000000000 +0100
+++ new/Sys-Virt-3.1.0/lib/Sys/Virt.pm  2017-01-19 12:05:32.000000000 +0100
@@ -78,7 +78,7 @@
 use Sys::Virt::DomainSnapshot;
 use Sys::Virt::Stream;
 
-our $VERSION = '3.0.0';
+our $VERSION = '3.1.0';
 require XSLoader;
 XSLoader::load('Sys::Virt', $VERSION);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-3.0.0/perl-Sys-Virt.spec 
new/Sys-Virt-3.1.0/perl-Sys-Virt.spec
--- old/Sys-Virt-3.0.0/perl-Sys-Virt.spec       2017-01-19 12:00:37.000000000 
+0100
+++ new/Sys-Virt-3.1.0/perl-Sys-Virt.spec       2017-03-03 17:59:47.000000000 
+0100
@@ -1,7 +1,7 @@
 # Automatically generated by perl-Sys-Virt.spec.PL
 
 Name:           perl-Sys-Virt
-Version:        3.0.0
+Version:        3.1.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.ukfSEu/_old  2017-03-14 10:07:18.017977315 +0100
+++ /var/tmp/diff_new_pack.ukfSEu/_new  2017-03-14 10:07:18.017977315 +0100
@@ -2,11 +2,11 @@
 
 References: fate#316614, bsc#859868
 
-Index: Sys-Virt-3.0.0/Virt.xs
+Index: Sys-Virt-3.1.0/Virt.xs
 ===================================================================
---- Sys-Virt-3.0.0.orig/Virt.xs
-+++ Sys-Virt-3.0.0/Virt.xs
-@@ -4950,7 +4950,7 @@ _migrate(dom, destcon, newparams, flags=
+--- Sys-Virt-3.1.0.orig/Virt.xs
++++ Sys-Virt-3.1.0/Virt.xs
+@@ -4959,7 +4959,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,
-@@ -5013,6 +5013,22 @@ _migrate(dom, destcon, newparams, flags=
+@@ -5022,6 +5022,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,
-@@ -5041,7 +5057,7 @@ _migrate_to_uri(dom, desturi, newparams,
+@@ -5050,7 +5066,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,
-@@ -5104,6 +5120,22 @@ _migrate_to_uri(dom, desturi, newparams,
+@@ -5113,6 +5129,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,
-@@ -8168,6 +8200,10 @@ BOOT:
+@@ -8177,6 +8209,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,11 +81,11 @@
  
        REGISTER_CONSTANT(VIR_DOMAIN_XML_SECURE, XML_SECURE);
        REGISTER_CONSTANT(VIR_DOMAIN_XML_INACTIVE, XML_INACTIVE);
-Index: Sys-Virt-3.0.0/lib/Sys/Virt/Domain.pm
+Index: Sys-Virt-3.1.0/lib/Sys/Virt/Domain.pm
 ===================================================================
---- Sys-Virt-3.0.0.orig/lib/Sys/Virt/Domain.pm
-+++ Sys-Virt-3.0.0/lib/Sys/Virt/Domain.pm
-@@ -1096,6 +1096,22 @@ The initial percentage to throttle guest
+--- Sys-Virt-3.1.0.orig/lib/Sys/Virt/Domain.pm
++++ Sys-Virt-3.1.0/lib/Sys/Virt/Domain.pm
+@@ -1101,6 +1101,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