Hello community,

here is the log from the commit of package perl-Sys-Virt for openSUSE:Factory 
checked in at 2020-02-06 13:08:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Sys-Virt (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Sys-Virt.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Sys-Virt"

Thu Feb  6 13:08:57 2020 rev:74 rq:770413 version:6.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Sys-Virt/perl-Sys-Virt.changes      
2019-10-23 15:50:41.206683997 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Sys-Virt.new.26092/perl-Sys-Virt.changes   
2020-02-06 13:09:03.440363309 +0100
@@ -1,0 +2,6 @@
+Thu Feb  6 00:00:40 UTC 2020 - James Fehlig <[email protected]>
+
+- Update to 6.0.0
+  - Add all new APIs and constants in libvirt 6.0.0
+
+-------------------------------------------------------------------

Old:
----
  Sys-Virt-v5.8.0.tar.gz

New:
----
  Sys-Virt-v6.0.0.tar.gz

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

Other differences:
------------------
++++++ perl-Sys-Virt.spec ++++++
--- /var/tmp/diff_new_pack.WXTPhk/_old  2020-02-06 13:09:04.748364021 +0100
+++ /var/tmp/diff_new_pack.WXTPhk/_new  2020-02-06 13:09:04.748364021 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Sys-Virt
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,13 @@
 
 
 Name:           perl-Sys-Virt
-Version:        5.8.0
+Version:        6.0.0
 Release:        0
 %define cpan_name Sys-Virt
 Summary:        Represent and manage a libvirt hypervisor connection
 License:        GPL-2.0-or-later OR ClArtistic
 Group:          Development/Libraries/Perl
-Url:            https://metacpan.org/release/Sys-Virt
+URL:            https://metacpan.org/release/Sys-Virt
 Source:         %{cpan_name}-v%{version}.tar.gz
 Patch0:         suse-set-migration-constraints.patch
 # Build

++++++ Sys-Virt-v5.8.0.tar.gz -> Sys-Virt-v6.0.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-v5.8.0/Build.PL new/Sys-Virt-v6.0.0/Build.PL
--- old/Sys-Virt-v5.8.0/Build.PL        2019-10-07 19:00:42.000000000 +0200
+++ new/Sys-Virt-v6.0.0/Build.PL        2020-01-16 11:43:59.000000000 +0100
@@ -17,7 +17,7 @@
 use strict;
 use warnings;
 
-my $libvirtver = "5.8.0";
+my $libvirtver = "6.0.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-v5.8.0/Changes new/Sys-Virt-v6.0.0/Changes
--- old/Sys-Virt-v5.8.0/Changes 2019-10-07 19:00:42.000000000 +0200
+++ new/Sys-Virt-v6.0.0/Changes 2020-01-16 11:43:59.000000000 +0100
@@ -1,5 +1,28 @@
 Revision history for perl module Sys::Virt
 
+6.0.0 2020-01-16
+
+ - Add VIR_DOMAIN_JOB_SUCCESS and VIR_DOMAIN_JOB_STATS_KEEP_COMPLETED
+   constants
+ - Fix typo breaking migration postcopy bandwidth and
+   autoconvert increment parameter handling
+ - Add handling for VIR_MIGRATE_PARAM_PARALLEL_CONNECTIONS
+   constant when invoking migrate
+ - Add VIR_MIGRATE_PARAM_TLS_DESTINATION constant
+ - Add missing create_checkpoint method on Sys::Virt::Domain
+ - Remove docs for has_metadata method which doesn't exit
+ - Fix data type for VIR_CONNECT_IDENTITY_SASL_USER_NAME
+   parameter
+ - Add new domain job constants related to backups
+ - Add new domain backup APIs
+ - Add VIR_DOMAIN_STATS_MEMORY constant
+
+5.10.0 2019-12-03
+
+ - Add VIR_FROM_BPF constant
+ - Add virDomainAgentSetResponseTimeout API and
+   associated constants
+
 5.8.0 2019-10-07
 
  - Add virConnectSetIdentity API and constants
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-v5.8.0/META.json 
new/Sys-Virt-v6.0.0/META.json
--- old/Sys-Virt-v5.8.0/META.json       2019-10-07 19:00:42.000000000 +0200
+++ new/Sys-Virt-v6.0.0/META.json       2020-01-16 11:43:59.000000000 +0100
@@ -4,7 +4,7 @@
       "Daniel Berrange <[email protected]>"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "Module::Build version 0.4224",
+   "generated_by" : "Module::Build version 0.4229",
    "license" : [
       "gpl_1"
    ],
@@ -41,7 +41,7 @@
    "provides" : {
       "Sys::Virt" : {
          "file" : "lib/Sys/Virt.pm",
-         "version" : "v5.8.0"
+         "version" : "v6.0.0"
       },
       "Sys::Virt::Domain" : {
          "file" : "lib/Sys/Virt/Domain.pm"
@@ -100,6 +100,6 @@
       },
       "x_MailingList" : "http://www.redhat.com/mailman/listinfo/libvir-list";
    },
-   "version" : "v5.8.0",
-   "x_serialization_backend" : "JSON::PP version 4.02"
+   "version" : "v6.0.0",
+   "x_serialization_backend" : "JSON::PP version 4.04"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-v5.8.0/META.yml new/Sys-Virt-v6.0.0/META.yml
--- old/Sys-Virt-v5.8.0/META.yml        2019-10-07 19:00:42.000000000 +0200
+++ new/Sys-Virt-v6.0.0/META.yml        2020-01-16 11:43:59.000000000 +0100
@@ -15,7 +15,7 @@
 configure_requires:
   Module::Build: '0'
 dynamic_config: 1
-generated_by: 'Module::Build version 0.4224, CPAN::Meta::Converter version 
2.150010'
+generated_by: 'Module::Build version 0.4229, CPAN::Meta::Converter version 
2.150010'
 license: gpl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -24,7 +24,7 @@
 provides:
   Sys::Virt:
     file: lib/Sys/Virt.pm
-    version: v5.8.0
+    version: v6.0.0
   Sys::Virt::Domain:
     file: lib/Sys/Virt/Domain.pm
   Sys::Virt::DomainCheckpoint:
@@ -62,5 +62,5 @@
   homepage: http://libvirt.org/
   license: http://www.gnu.org/licenses/gpl.html
   repository: https://libvirt.org/git/?p=libvirt-perl.git;a=summary
-version: v5.8.0
+version: v6.0.0
 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-v5.8.0/Makefile.PL 
new/Sys-Virt-v6.0.0/Makefile.PL
--- old/Sys-Virt-v5.8.0/Makefile.PL     2019-10-07 19:00:42.000000000 +0200
+++ new/Sys-Virt-v6.0.0/Makefile.PL     2020-01-16 11:43:59.000000000 +0100
@@ -1,4 +1,4 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.4224
+# Note: this file was auto-generated by Module::Build::Compat version 0.4229
 require 5.008000;
     use Module::Build::Compat 0.02;
     
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-v5.8.0/README new/Sys-Virt-v6.0.0/README
--- old/Sys-Virt-v5.8.0/README  2019-10-07 19:00:42.000000000 +0200
+++ new/Sys-Virt-v6.0.0/README  2020-01-16 11:43:59.000000000 +0100
@@ -8,6 +8,6 @@
 Module::Build buld system. For installation instructions, consult
 the INSTALL file.
 
-The current minimum required version of libvirt is 5.8.0
+The current minimum required version of libvirt is 6.0.0
 
 -- End
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-v5.8.0/lib/Sys/Virt/Domain.pm 
new/Sys-Virt-v6.0.0/lib/Sys/Virt/Domain.pm
--- old/Sys-Virt-v5.8.0/lib/Sys/Virt/Domain.pm  2019-10-07 19:00:42.000000000 
+0200
+++ new/Sys-Virt-v6.0.0/lib/Sys/Virt/Domain.pm  2020-01-16 11:43:59.000000000 
+0100
@@ -1141,6 +1141,15 @@
 
 The number of connections used during parallel migration.
 
+=item C<Sys::Virt::Domain::MIGRATE_PARAM_TLS_DESTINATION>
+
+Override the destination host name used for TLS verification.
+Normally the TLS certificate from the destination host must match
+the host's name for TLS verification to succeed. When the
+certificate does not match the destination hostname and the
+expected cetificate's hostname is known, this parameter can be
+used to pass this expected hostname when starting the migration.
+
 =back
 
 =item $ddom = $dom->migrate(destcon, flags=0, dname=undef, uri=undef, 
bandwidth=0)
@@ -1551,6 +1560,10 @@
 
 Return the stats of the most recently completed job.
 
+=item Sys::Virt::Domain::JOB_STATS_KEEP_COMPLETED
+
+Don't clear the completed stats after reading them.
+
 =back
 
 =item Sys::Virt::Domain::JOB_TIME_ELAPSED
@@ -1686,6 +1699,18 @@
 
 The type of operation associated with the job
 
+=item Sys::Virt::Domain::JOB_SUCCESS
+
+Whether the job was successfully completed.
+
+=item Sys::Virt::Domain::JOB_DISK_TEMP_TOTAL
+
+Possible total temporary disk space for the job in bytes
+
+=item Sys::Virt::Domain::JOB_DISK_TEMP_USED
+
+Current total temporary disk space for the job in bytes
+
 =back
 
 The values for the Sys::Virt::Domain::JOB_OPERATION field are
@@ -1728,6 +1753,10 @@
 
 The guest is saving a crash dump
 
+=item Sys::Virt::Domain::JOB_OPERATION_BACKUP
+
+The guest is performing a block backup
+
 =back
 
 =item $dom->abort_job()
@@ -1948,8 +1977,48 @@
     return Sys::Virt::DomainCheckpoint->_new(domain => $self, name => $name);
 }
 
+=item $checkpoint = $dom->create_checkpoint($xml[, $flags])
+
+Create a new checkpoint from the C<$xml>. The C<$flags> parameter accepts
+the B<CHECKPOINT CREATION> constants listed in C<Sys::Virt::DomainCheckpoints>.
+
+=cut
+
+sub create_checkpoint {
+    my $self = shift;
+    my $xml = shift;
+    my $flags = shift;
+
+    my $checkpoint = Sys::Virt::DomainCheckpoint->_new(domain => $self, xml => 
$xml, flags => $flags);
+
+    return $checkpoint;
+}
+
 1;
 
+=item $dom->backup_begin($backupxml, $checkpointxml=undef, $flags=0);
+
+Start a point-in-time backup job for the specified disks of a
+running domain. The C<$backupxml> parameter describes the
+backup operation, including which disks to use. The optional
+C<$checkpointxml> parameter can be used to create a checkpoint
+covering to the same point in time as the backup. The optional
+C<$flags> parameter can be one of the following constants:
+
+=over 4
+
+=item Sys::Virt::Domain::BACKUP_BEGIN_REUSE_EXTERNAL
+
+Assume that the output/temporary files for the backup have been
+precreated by the caller with the correct size and format.
+
+=back
+
+=item $xml = $dom->backup_get_xml_description($flags=0);
+
+Get the XML description of the currently executing backup
+job. If there is no backup job then an error is raised.
+
 =item $dom->fs_trim($mountPoint, $minimum, $flags=0);
 
 Issue an FS_TRIM command to the device at C<$mountPoint>
@@ -2126,6 +2195,31 @@
 
 C<$flags> is currently unused and defaults to zero.
 
+=item $dom->set_agent_response_timeout($timeout, $flags=0)
+
+Set the amount of time to wait for the agent to respond to a
+command. C<$timeout> is a positive integer representing the
+number of seconds to wait, or one of the constants:
+
+=over 4
+
+=item Sys::Virt::Domain::AGENT_RESPONSE_TIMEOUT_BLOCK
+
+Wait forever with no timeout
+
+=item Sys::Virt::Domain::AGENT_RESPONSE_TIMEOUT_NOWAIT
+
+Don't want at all, return immediately
+
+=item Sys::Virt::Domain::AGENT_RESPONSE_TIMEOUT_DEFAULT
+
+Use the hypervisor driver's default timeout
+
+=back
+
+The C<$flags> parameter is currently unused and defaults
+to zero.
+
 =back
 
 =head1 CONSTANTS
@@ -3699,6 +3793,10 @@
 
 The block active commit job type
 
+=item Sys::Virt::Domain::BLOCK_JOB_TYPE_BACKUP
+
+The block backup job type
+
 =back
 
 =head2 DOMAIN BLOCK JOB COMPLETION CONSTANTS
@@ -4328,6 +4426,10 @@
 
 IOThread performance statistics values
 
+=item Sys::Virt::Domain::STATS_MEMORY
+
+Memory bandwidth statistics values
+
 =back
 
 =head2 PROCESS SIGNALS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-v5.8.0/lib/Sys/Virt/DomainCheckpoint.pm 
new/Sys-Virt-v6.0.0/lib/Sys/Virt/DomainCheckpoint.pm
--- old/Sys-Virt-v5.8.0/lib/Sys/Virt/DomainCheckpoint.pm        2019-10-07 
19:00:42.000000000 +0200
+++ new/Sys-Virt-v6.0.0/lib/Sys/Virt/DomainCheckpoint.pm        2020-01-16 
11:43:59.000000000 +0100
@@ -97,11 +97,6 @@
 
 Return the parent of the checkpoint, if any
 
-=item $res = $domchkp->has_metadata()
-
-Returns a true value if this checkpoint has metadata associated with
-it.
-
 =item my @checkpoints = $domchkp->list_all_children($flags)
 
 Return a list of all domain checkpoints that are children of this
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-v5.8.0/lib/Sys/Virt/Error.pm 
new/Sys-Virt-v6.0.0/lib/Sys/Virt/Error.pm
--- old/Sys-Virt-v5.8.0/lib/Sys/Virt/Error.pm   2019-10-07 19:00:42.000000000 
+0200
+++ new/Sys-Virt-v6.0.0/lib/Sys/Virt/Error.pm   2020-01-16 11:43:59.000000000 
+0100
@@ -418,6 +418,10 @@
 
 The TPM subsystem
 
+=item Sys::Virt::Error::FROM_BPF
+
+The BPF subsystem
+
 =back
 
 =head2 ERROR CODE CONSTANTS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-v5.8.0/lib/Sys/Virt.pm 
new/Sys-Virt-v6.0.0/lib/Sys/Virt.pm
--- old/Sys-Virt-v5.8.0/lib/Sys/Virt.pm 2019-10-07 19:00:42.000000000 +0200
+++ new/Sys-Virt-v6.0.0/lib/Sys/Virt.pm 2020-01-16 11:43:59.000000000 +0100
@@ -81,7 +81,7 @@
 use Sys::Virt::DomainCheckpoint;
 use Sys::Virt::Stream;
 
-our $VERSION = '5.8.0';
+our $VERSION = '6.0.0';
 require XSLoader;
 XSLoader::load('Sys::Virt', $VERSION);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-v5.8.0/lib/Sys/Virt.xs 
new/Sys-Virt-v6.0.0/lib/Sys/Virt.xs
--- old/Sys-Virt-v5.8.0/lib/Sys/Virt.xs 2019-10-07 19:00:42.000000000 +0200
+++ new/Sys-Virt-v6.0.0/lib/Sys/Virt.xs 2020-01-16 11:43:59.000000000 +0100
@@ -2738,7 +2738,7 @@
 
       strncpy(ident[6].field, VIR_CONNECT_IDENTITY_SASL_USER_NAME,
               VIR_TYPED_PARAM_FIELD_LENGTH);
-      ident[6].type = VIR_TYPED_PARAM_INT;
+      ident[6].type = VIR_TYPED_PARAM_STRING;
 
       strncpy(ident[7].field, VIR_CONNECT_IDENTITY_X509_DISTINGUISHED_NAME,
               VIR_TYPED_PARAM_FIELD_LENGTH);
@@ -5413,7 +5413,7 @@
      virTypedParameterPtr params;
      int nparams;
     CODE:
-     nparams = 16;
+     nparams = 18;
      Newx(params, nparams, virTypedParameter);
 
      strncpy(params[0].field, VIR_MIGRATE_PARAM_URI,
@@ -5480,6 +5480,14 @@
              VIR_TYPED_PARAM_FIELD_LENGTH);
      params[15].type = VIR_TYPED_PARAM_ULLONG;
 
+     strncpy(params[16].field, VIR_MIGRATE_PARAM_PARALLEL_CONNECTIONS,
+             VIR_TYPED_PARAM_FIELD_LENGTH);
+     params[16].type = VIR_TYPED_PARAM_INT;
+
+     strncpy(params[17].field, VIR_MIGRATE_PARAM_TLS_DESTINATION,
+             VIR_TYPED_PARAM_FIELD_LENGTH);
+     params[17].type = VIR_TYPED_PARAM_STRING;
+
      nparams = vir_typed_param_from_hv(newparams, params, nparams);
 
      vir_typed_param_add_string_list_from_hv(newparams, &params, &nparams,
@@ -5508,7 +5516,7 @@
      virTypedParameterPtr params;
      int nparams;
   PPCODE:
-     nparams = 16;
+     nparams = 18;
      Newx(params, nparams, virTypedParameter);
 
      strncpy(params[0].field, VIR_MIGRATE_PARAM_URI,
@@ -5571,10 +5579,18 @@
              VIR_TYPED_PARAM_FIELD_LENGTH);
      params[14].type = VIR_TYPED_PARAM_INT;
 
-     strncpy(params[14].field, VIR_MIGRATE_PARAM_BANDWIDTH_POSTCOPY,
+     strncpy(params[15].field, VIR_MIGRATE_PARAM_BANDWIDTH_POSTCOPY,
              VIR_TYPED_PARAM_FIELD_LENGTH);
      params[15].type = VIR_TYPED_PARAM_ULLONG;
 
+     strncpy(params[16].field, VIR_MIGRATE_PARAM_PARALLEL_CONNECTIONS,
+             VIR_TYPED_PARAM_FIELD_LENGTH);
+     params[16].type = VIR_TYPED_PARAM_INT;
+
+     strncpy(params[17].field, VIR_MIGRATE_PARAM_TLS_DESTINATION,
+             VIR_TYPED_PARAM_FIELD_LENGTH);
+     params[17].type = VIR_TYPED_PARAM_STRING;
+
      nparams = vir_typed_param_from_hv(newparams, params, nparams);
 
      vir_typed_param_add_string_list_from_hv(newparams, &params, &nparams,
@@ -6659,6 +6675,47 @@
           _croak_error();
 
 void
+set_agent_response_timeout(dom, timeout, flags=0)
+      virDomainPtr dom;
+      int timeout;
+      unsigned int flags;
+PPCODE:
+      if (virDomainAgentSetResponseTimeout(dom, timeout, flags) < 0)
+        _croak_error();
+
+void
+backup_begin(dom, backupxmlsv, checkpointxmlsv, flags=0)
+      virDomainPtr dom;
+      SV *backupxmlsv;
+      SV *checkpointxmlsv;
+      unsigned int flags;
+PREINIT:
+      const char *backupxml = NULL;
+      const char *checkpointxml = NULL;
+    CODE:
+      if (SvOK(backupxmlsv))
+          backupxml = SvPV_nolen(backupxmlsv);
+      if (SvOK(checkpointxmlsv))
+          checkpointxml = SvPV_nolen(checkpointxmlsv);
+      if (virDomainBackupBegin(dom, backupxml, checkpointxml, flags) < 0)
+          _croak_error();
+
+SV *
+backup_get_xml_description(dom, flags=0)
+      virDomainPtr dom;
+      unsigned int flags;
+  PREINIT:
+      char *xml;
+    CODE:
+      if (!(xml = virDomainBackupGetXMLDesc(dom, flags)))
+        _croak_error();
+
+      RETVAL = newSVpv(xml, 0);
+      free(xml);
+  OUTPUT:
+      RETVAL
+
+void
 destroy(dom_rv, flags=0)
       SV *dom_rv;
       unsigned int flags;
@@ -9237,6 +9294,7 @@
       REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_AUTO_CONVERGE_INCREMENT, 
MIGRATE_PARAM_AUTO_CONVERGE_INCREMENT);
       REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_BANDWIDTH_POSTCOPY, 
MIGRATE_PARAM_BANDWIDTH_POSTCOPY);
       REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_PARALLEL_CONNECTIONS, 
MIGRATE_PARAM_PARALLEL_CONNECTIONS);
+      REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_TLS_DESTINATION, 
MIGRATE_PARAM_TLS_DESTINATION);
 
       REGISTER_CONSTANT(VIR_DOMAIN_MIGRATE_MAX_SPEED_POSTCOPY, 
MIGRATE_MAX_SPEED_POSTCOPY);
 
@@ -9275,6 +9333,7 @@
       REGISTER_CONSTANT(VIR_DOMAIN_STATS_VCPU, STATS_VCPU);
       REGISTER_CONSTANT(VIR_DOMAIN_STATS_PERF, STATS_PERF);
       REGISTER_CONSTANT(VIR_DOMAIN_STATS_IOTHREAD, STATS_IOTHREAD);
+      REGISTER_CONSTANT(VIR_DOMAIN_STATS_MEMORY, STATS_MEMORY);
 
       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);
@@ -9380,6 +9439,7 @@
       REGISTER_CONSTANT(VIR_DOMAIN_JOB_CANCELLED, JOB_CANCELLED);
 
       REGISTER_CONSTANT(VIR_DOMAIN_JOB_STATS_COMPLETED, JOB_STATS_COMPLETED);
+      REGISTER_CONSTANT(VIR_DOMAIN_JOB_STATS_KEEP_COMPLETED, 
JOB_STATS_KEEP_COMPLETED);
 
       REGISTER_CONSTANT_STR(VIR_DOMAIN_JOB_AUTO_CONVERGE_THROTTLE, 
JOB_AUTO_CONVERGE_THROTTLE);
       REGISTER_CONSTANT_STR(VIR_DOMAIN_JOB_COMPRESSION_BYTES, 
JOB_COMPRESSION_BYTES);
@@ -9412,12 +9472,16 @@
       REGISTER_CONSTANT_STR(VIR_DOMAIN_JOB_TIME_ELAPSED_NET, 
JOB_TIME_ELAPSED_NET);
       REGISTER_CONSTANT_STR(VIR_DOMAIN_JOB_TIME_REMAINING, JOB_TIME_REMAINING);
       REGISTER_CONSTANT_STR(VIR_DOMAIN_JOB_OPERATION, JOB_OPERATION);
+      REGISTER_CONSTANT_STR(VIR_DOMAIN_JOB_SUCCESS, JOB_SUCCESS);
+      REGISTER_CONSTANT_STR(VIR_DOMAIN_JOB_DISK_TEMP_TOTAL, 
JOB_DISK_TEMP_TOTAL);
+      REGISTER_CONSTANT_STR(VIR_DOMAIN_JOB_DISK_TEMP_USED, JOB_DISK_TEMP_USED);
 
       REGISTER_CONSTANT(VIR_DOMAIN_BLOCK_JOB_TYPE_UNKNOWN, 
BLOCK_JOB_TYPE_UNKNOWN);
       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_TYPE_BACKUP, 
BLOCK_JOB_TYPE_BACKUP);
 
       REGISTER_CONSTANT(VIR_DOMAIN_BLOCK_JOB_COMPLETED, BLOCK_JOB_COMPLETED);
       REGISTER_CONSTANT(VIR_DOMAIN_BLOCK_JOB_FAILED, BLOCK_JOB_FAILED);
@@ -9807,6 +9871,7 @@
       REGISTER_CONSTANT(VIR_DOMAIN_JOB_OPERATION_SNAPSHOT, 
JOB_OPERATION_SNAPSHOT);
       REGISTER_CONSTANT(VIR_DOMAIN_JOB_OPERATION_SNAPSHOT_REVERT, 
JOB_OPERATION_SNAPSHOT_REVERT);
       REGISTER_CONSTANT(VIR_DOMAIN_JOB_OPERATION_DUMP, JOB_OPERATION_DUMP);
+      REGISTER_CONSTANT(VIR_DOMAIN_JOB_OPERATION_BACKUP, JOB_OPERATION_BACKUP);
 
       REGISTER_CONSTANT(VIR_DOMAIN_LIFECYCLE_POWEROFF, LIFECYCLE_POWEROFF);
       REGISTER_CONSTANT(VIR_DOMAIN_LIFECYCLE_REBOOT, LIFECYCLE_REBOOT);
@@ -9830,6 +9895,12 @@
       REGISTER_CONSTANT(VIR_DOMAIN_GUEST_INFO_HOSTNAME, GUEST_INFO_HOSTNAME);
       REGISTER_CONSTANT(VIR_DOMAIN_GUEST_INFO_FILESYSTEM, 
GUEST_INFO_FILESYSTEM);
 
+      REGISTER_CONSTANT(VIR_DOMAIN_AGENT_RESPONSE_TIMEOUT_BLOCK, 
AGENT_RESPONSE_TIMEOUT_BLOCK);
+      REGISTER_CONSTANT(VIR_DOMAIN_AGENT_RESPONSE_TIMEOUT_NOWAIT, 
AGENT_RESPONSE_TIMEOUT_NOWAIT);
+      REGISTER_CONSTANT(VIR_DOMAIN_AGENT_RESPONSE_TIMEOUT_DEFAULT, 
AGENT_RESPONSE_TIMEOUT_DEFAULT);
+
+      REGISTER_CONSTANT(VIR_DOMAIN_BACKUP_BEGIN_REUSE_EXTERNAL, 
BACKUP_BEGIN_REUSE_EXTERNAL);
+
 
       stash = gv_stashpv( "Sys::Virt::DomainSnapshot", TRUE );
       REGISTER_CONSTANT(VIR_DOMAIN_SNAPSHOT_DELETE_CHILDREN, DELETE_CHILDREN);
@@ -10176,6 +10247,7 @@
       REGISTER_CONSTANT(VIR_FROM_FIREWALLD, FROM_FIREWALLD);
       REGISTER_CONSTANT(VIR_FROM_DOMAIN_CHECKPOINT, FROM_DOMAIN_CHECKPOINT);
       REGISTER_CONSTANT(VIR_FROM_TPM, FROM_TPM);
+      REGISTER_CONSTANT(VIR_FROM_BPF, FROM_BPF);
 
 
       REGISTER_CONSTANT(VIR_ERR_OK, ERR_OK);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-v5.8.0/perl-Sys-Virt.spec 
new/Sys-Virt-v6.0.0/perl-Sys-Virt.spec
--- old/Sys-Virt-v5.8.0/perl-Sys-Virt.spec      2019-10-07 19:00:42.000000000 
+0200
+++ new/Sys-Virt-v6.0.0/perl-Sys-Virt.spec      2020-01-16 11:43:59.000000000 
+0100
@@ -1,7 +1,7 @@
 # Automatically generated by perl-Sys-Virt.spec.PL
 
 Name:           perl-Sys-Virt
-Version:        5.8.0
+Version:        6.0.0
 Release:        1%{?dist}
 Summary:        Represent and manage a libvirt hypervisor connection
 License:        GPLv2+ or Artistic

++++++ suse-set-migration-constraints.patch ++++++
--- /var/tmp/diff_new_pack.WXTPhk/_old  2020-02-06 13:09:04.864364084 +0100
+++ /var/tmp/diff_new_pack.WXTPhk/_new  2020-02-06 13:09:04.864364084 +0100
@@ -2,13 +2,13 @@
 
 References: fate#316614, bsc#859868
 
-Index: Sys-Virt-v5.8.0/lib/Sys/Virt/Domain.pm
+Index: Sys-Virt-v6.0.0/lib/Sys/Virt/Domain.pm
 ===================================================================
---- Sys-Virt-v5.8.0.orig/lib/Sys/Virt/Domain.pm
-+++ Sys-Virt-v5.8.0/lib/Sys/Virt/Domain.pm
-@@ -1141,6 +1141,22 @@ progress is not made
- 
- The number of connections used during parallel migration.
+--- Sys-Virt-v6.0.0.orig/lib/Sys/Virt/Domain.pm
++++ Sys-Virt-v6.0.0/lib/Sys/Virt/Domain.pm
+@@ -1150,6 +1150,22 @@ certificate does not match the destinati
+ expected cetificate's hostname is known, this parameter can be
+ used to pass this expected hostname when starting the migration.
  
 +=item C<Sys::Virt::Domain::MIGRATE_PARAM_SUSE_MAX_ITERS>
 +
@@ -29,81 +29,76 @@
  =back
  
  =item $ddom = $dom->migrate(destcon, flags=0, dname=undef, uri=undef, 
bandwidth=0)
-Index: Sys-Virt-v5.8.0/lib/Sys/Virt.xs
+Index: Sys-Virt-v6.0.0/lib/Sys/Virt.xs
 ===================================================================
---- Sys-Virt-v5.8.0.orig/lib/Sys/Virt.xs
-+++ Sys-Virt-v5.8.0/lib/Sys/Virt.xs
+--- Sys-Virt-v6.0.0.orig/lib/Sys/Virt.xs
++++ Sys-Virt-v6.0.0/lib/Sys/Virt.xs
 @@ -5413,7 +5413,7 @@ _migrate(dom, destcon, newparams, flags=
       virTypedParameterPtr params;
       int nparams;
      CODE:
--     nparams = 16;
-+     nparams = 20;
+-     nparams = 18;
++     nparams = 22;
       Newx(params, nparams, virTypedParameter);
  
       strncpy(params[0].field, VIR_MIGRATE_PARAM_URI,
-@@ -5480,6 +5480,22 @@ _migrate(dom, destcon, newparams, flags=
+@@ -5488,6 +5488,22 @@ _migrate(dom, destcon, newparams, flags=
               VIR_TYPED_PARAM_FIELD_LENGTH);
-      params[15].type = VIR_TYPED_PARAM_ULLONG;
+      params[17].type = VIR_TYPED_PARAM_STRING;
  
-+     strncpy(params[16].field, VIR_MIGRATE_PARAM_SUSE_MAX_ITERS,
++     strncpy(params[18].field, VIR_MIGRATE_PARAM_SUSE_MAX_ITERS,
 +             VIR_TYPED_PARAM_FIELD_LENGTH);
-+     params[16].type = VIR_TYPED_PARAM_UINT;
++     params[18].type = VIR_TYPED_PARAM_UINT;
 +
-+     strncpy(params[17].field, VIR_MIGRATE_PARAM_SUSE_MAX_FACTOR,
++     strncpy(params[19].field, VIR_MIGRATE_PARAM_SUSE_MAX_FACTOR,
 +             VIR_TYPED_PARAM_FIELD_LENGTH);
-+     params[17].type = VIR_TYPED_PARAM_UINT;
++     params[19].type = VIR_TYPED_PARAM_UINT;
 +
-+     strncpy(params[18].field, VIR_MIGRATE_PARAM_SUSE_MIN_REMAINING,
++     strncpy(params[20].field, VIR_MIGRATE_PARAM_SUSE_MIN_REMAINING,
 +             VIR_TYPED_PARAM_FIELD_LENGTH);
-+     params[18].type = VIR_TYPED_PARAM_UINT;
++     params[20].type = VIR_TYPED_PARAM_UINT;
 +
-+     strncpy(params[19].field, VIR_MIGRATE_PARAM_SUSE_ABORT_IF_BUSY,
++     strncpy(params[21].field, VIR_MIGRATE_PARAM_SUSE_ABORT_IF_BUSY,
 +             VIR_TYPED_PARAM_FIELD_LENGTH);
-+     params[19].type = VIR_TYPED_PARAM_UINT;
++     params[21].type = VIR_TYPED_PARAM_UINT;
 +
       nparams = vir_typed_param_from_hv(newparams, params, nparams);
  
       vir_typed_param_add_string_list_from_hv(newparams, &params, &nparams,
-@@ -5508,7 +5524,7 @@ _migrate_to_uri(dom, desturi, newparams,
+@@ -5516,7 +5532,7 @@ _migrate_to_uri(dom, desturi, newparams,
       virTypedParameterPtr params;
       int nparams;
    PPCODE:
--     nparams = 16;
-+     nparams = 20;
+-     nparams = 18;
++     nparams = 22;
       Newx(params, nparams, virTypedParameter);
  
       strncpy(params[0].field, VIR_MIGRATE_PARAM_URI,
-@@ -5571,10 +5587,26 @@ _migrate_to_uri(dom, desturi, newparams,
+@@ -5591,6 +5607,22 @@ _migrate_to_uri(dom, desturi, newparams,
               VIR_TYPED_PARAM_FIELD_LENGTH);
-      params[14].type = VIR_TYPED_PARAM_INT;
+      params[17].type = VIR_TYPED_PARAM_STRING;
  
--     strncpy(params[14].field, VIR_MIGRATE_PARAM_BANDWIDTH_POSTCOPY,
-+     strncpy(params[15].field, VIR_MIGRATE_PARAM_BANDWIDTH_POSTCOPY,
-              VIR_TYPED_PARAM_FIELD_LENGTH);
-      params[15].type = VIR_TYPED_PARAM_ULLONG;
- 
-+     strncpy(params[16].field, VIR_MIGRATE_PARAM_SUSE_MAX_ITERS,
++     strncpy(params[18].field, VIR_MIGRATE_PARAM_SUSE_MAX_ITERS,
 +             VIR_TYPED_PARAM_FIELD_LENGTH);
-+     params[16].type = VIR_TYPED_PARAM_UINT;
++     params[18].type = VIR_TYPED_PARAM_UINT;
 +
-+     strncpy(params[17].field, VIR_MIGRATE_PARAM_SUSE_MAX_FACTOR,
++     strncpy(params[19].field, VIR_MIGRATE_PARAM_SUSE_MAX_FACTOR,
 +             VIR_TYPED_PARAM_FIELD_LENGTH);
-+     params[17].type = VIR_TYPED_PARAM_UINT;
++     params[19].type = VIR_TYPED_PARAM_UINT;
 +
-+     strncpy(params[18].field, VIR_MIGRATE_PARAM_SUSE_MIN_REMAINING,
++     strncpy(params[20].field, VIR_MIGRATE_PARAM_SUSE_MIN_REMAINING,
 +             VIR_TYPED_PARAM_FIELD_LENGTH);
-+     params[18].type = VIR_TYPED_PARAM_UINT;
++     params[20].type = VIR_TYPED_PARAM_UINT;
 +
-+     strncpy(params[19].field, VIR_MIGRATE_PARAM_SUSE_ABORT_IF_BUSY,
++     strncpy(params[21].field, VIR_MIGRATE_PARAM_SUSE_ABORT_IF_BUSY,
 +             VIR_TYPED_PARAM_FIELD_LENGTH);
-+     params[19].type = VIR_TYPED_PARAM_UINT;
++     params[21].type = VIR_TYPED_PARAM_UINT;
 +
       nparams = vir_typed_param_from_hv(newparams, params, nparams);
  
       vir_typed_param_add_string_list_from_hv(newparams, &params, &nparams,
-@@ -9239,6 +9271,10 @@ BOOT:
-       REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_PARALLEL_CONNECTIONS, 
MIGRATE_PARAM_PARALLEL_CONNECTIONS);
+@@ -9297,6 +9329,10 @@ BOOT:
+       REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_TLS_DESTINATION, 
MIGRATE_PARAM_TLS_DESTINATION);
  
        REGISTER_CONSTANT(VIR_DOMAIN_MIGRATE_MAX_SPEED_POSTCOPY, 
MIGRATE_MAX_SPEED_POSTCOPY);
 +      REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_SUSE_MAX_ITERS, 
MIGRATE_PARAM_SUSE_MAX_ITERS);


Reply via email to