Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-Sys-Virt for openSUSE:Factory checked in at 2022-11-12 17:41:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Sys-Virt (Old) and /work/SRC/openSUSE:Factory/.perl-Sys-Virt.new.1597 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Sys-Virt" Sat Nov 12 17:41:30 2022 rev:94 rq:1035318 version:8.9.0 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Sys-Virt/perl-Sys-Virt.changes 2022-10-12 18:24:46.281676442 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Sys-Virt.new.1597/perl-Sys-Virt.changes 2022-11-12 17:41:51.166412176 +0100 @@ -1,0 +2,7 @@ +Fri Nov 11 18:15:47 UTC 2022 - James Fehlig <[email protected]> + +- Update to 8.9.0 + - Add all new APIs and constants in libvirt 8.9.0 + - jsc#PED-620, jsc#PED-1540 + +------------------------------------------------------------------- Old: ---- Sys-Virt-8.8.0.tar.gz New: ---- Sys-Virt-8.9.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Sys-Virt.spec ++++++ --- /var/tmp/diff_new_pack.z6GANN/_old 2022-11-12 17:41:51.594414724 +0100 +++ /var/tmp/diff_new_pack.z6GANN/_new 2022-11-12 17:41:51.598414748 +0100 @@ -17,7 +17,7 @@ Name: perl-Sys-Virt -Version: 8.8.0 +Version: 8.9.0 Release: 0 %define cpan_name Sys-Virt Summary: Represent and manage a libvirt hypervisor connection ++++++ Sys-Virt-8.8.0.tar.gz -> Sys-Virt-8.9.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-8.8.0/.gitlab-ci.yml new/Sys-Virt-8.9.0/.gitlab-ci.yml --- old/Sys-Virt-8.8.0/.gitlab-ci.yml 2022-10-04 20:04:22.000000000 +0200 +++ new/Sys-Virt-8.9.0/.gitlab-ci.yml 2022-11-02 12:05:00.000000000 +0100 @@ -94,8 +94,8 @@ - .gitlab_native_build_job_prebuilt_env - .api_coverage_job needs: - - job: x86_64-almalinux-8-container - optional: true + - job: x86_64-almalinux-8-prebuilt-env + artifacts: true variables: NAME: almalinux-8 @@ -103,6 +103,9 @@ extends: - .gitlab_native_build_job_local_env - .api_coverage_job + needs: + - job: x86_64-almalinux-8-local-env + artifacts: true variables: IMAGE: docker.io/library/almalinux:8 NAME: almalinux-8 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-8.8.0/Build.PL new/Sys-Virt-8.9.0/Build.PL --- old/Sys-Virt-8.8.0/Build.PL 2022-10-04 20:04:22.000000000 +0200 +++ new/Sys-Virt-8.9.0/Build.PL 2022-11-02 12:05:00.000000000 +0100 @@ -17,7 +17,7 @@ use strict; use warnings; -my $libvirtver = "8.7.0"; +my $libvirtver = "8.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-8.8.0/Changes new/Sys-Virt-8.9.0/Changes --- old/Sys-Virt-8.8.0/Changes 2022-10-04 20:04:22.000000000 +0200 +++ new/Sys-Virt-8.9.0/Changes 2022-11-02 12:05:00.000000000 +0100 @@ -1,5 +1,10 @@ Revision history for perl module Sys::Virt +8.9.0 2022-11-01 + + - Add VIR_DOMAIN_UNDEFINE_TPM and VIR_DOMAIN_UNDEFINE_KEEP_TPM constants + - Add VIR_DOMAIN_STATS_VM constant + 8.8.0 2022-10-04 - Fix some spelling errors in various manpages diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-8.8.0/README new/Sys-Virt-8.9.0/README --- old/Sys-Virt-8.8.0/README 2022-10-04 20:04:22.000000000 +0200 +++ new/Sys-Virt-8.9.0/README 2022-11-02 12:05:00.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 8.7.0 +The current minimum required version of libvirt is 8.9.0 -- End diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-8.8.0/lib/Sys/Virt/Domain.pm new/Sys-Virt-8.9.0/lib/Sys/Virt/Domain.pm --- old/Sys-Virt-8.8.0/lib/Sys/Virt/Domain.pm 2022-10-04 20:04:22.000000000 +0200 +++ new/Sys-Virt-8.9.0/lib/Sys/Virt/Domain.pm 2022-11-02 12:05:00.000000000 +0100 @@ -2930,6 +2930,14 @@ Also remove any checkpoint metadata when undefining the virtual domain. +=item Sys::Virt::Domain::UNDEFINE_TPM + +Also remove any TPM state when undefining the virtual domain. + +=item Sys::Virt::Domain::UNDEFINE_KEEP_TPM + +Keep TPM state when undefining the virtual domain. + =back =head2 JOB TYPES @@ -4699,6 +4707,11 @@ Memory dirty rate statistics +=item Sys::Virt::Domain::STATS_VM + +Hypervisor-specific stats fields for given VM + + =back =head2 PROCESS SIGNALS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-8.8.0/lib/Sys/Virt/Interface.pm new/Sys-Virt-8.9.0/lib/Sys/Virt/Interface.pm --- old/Sys-Virt-8.8.0/lib/Sys/Virt/Interface.pm 2022-10-04 20:04:22.000000000 +0200 +++ new/Sys-Virt-8.9.0/lib/Sys/Virt/Interface.pm 2022-11-02 12:05:00.000000000 +0100 @@ -102,8 +102,6 @@ =head1 CONSTANTS -=head1 CONSTANTS - This section documents constants that are used with various APIs described above diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-8.8.0/lib/Sys/Virt/StorageVol.pm new/Sys-Virt-8.9.0/lib/Sys/Virt/StorageVol.pm --- old/Sys-Virt-8.8.0/lib/Sys/Virt/StorageVol.pm 2022-10-04 20:04:22.000000000 +0200 +++ new/Sys-Virt-8.9.0/lib/Sys/Virt/StorageVol.pm 2022-11-02 12:05:00.000000000 +0100 @@ -304,7 +304,7 @@ =back -VOLUME RESIZE CONSTANTS +=head2 VOLUME RESIZE CONSTANTS The following constants control how storage volumes can be resized diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-8.8.0/lib/Sys/Virt.pm new/Sys-Virt-8.9.0/lib/Sys/Virt.pm --- old/Sys-Virt-8.8.0/lib/Sys/Virt.pm 2022-10-04 20:04:22.000000000 +0200 +++ new/Sys-Virt-8.9.0/lib/Sys/Virt.pm 2022-11-02 12:05:00.000000000 +0100 @@ -81,7 +81,7 @@ use Sys::Virt::DomainCheckpoint; use Sys::Virt::Stream; -our $VERSION = '8.8.0'; +our $VERSION = '8.9.0'; require XSLoader; XSLoader::load('Sys::Virt', $VERSION); @@ -233,7 +233,7 @@ } -=item my $dom = $conn->create_domain($xml, $flags); +=item my $dom = $conn->create_domain($xml, $flags=0); Create a new domain based on the XML description passed into the C<$xml> parameter. The returned object is an instance of the L<Sys::Virt::Domain> @@ -251,7 +251,7 @@ return Sys::Virt::Domain->_new(connection => $self, xml => $xml, flags => $flags); } -=item my $dom = $conn->create_domain_with_files($xml, $fds, $flags); +=item my $dom = $conn->create_domain_with_files($xml, $fds, $flags=0); Create a new domain based on the XML description passed into the C<$xml> parameter. The returned object is an instance of the L<Sys::Virt::Domain> @@ -281,7 +281,8 @@ of the L<Sys::Virt::Domain> class. This method is not available with unprivileged connections to the hypervisor. The defined domain can be later started by calling the C<create> method on the returned C<Sys::Virt::Domain> -object. +object. The C<$flags> parameter accepts one of the DOMAIN DEFINE constants +documented in L<Sys::Virt::Domain>, and defaults to 0 if omitted. =cut @@ -298,7 +299,8 @@ Create a new network based on the XML description passed into the C<$xml> parameter. The returned object is an instance of the L<Sys::Virt::Network> class. This method is not available with unprivileged connections to -the hypervisor. +the hypervisor. The C<$flags> parameter accepts one of the NETWORK CREATION +constants documented in L<Sys::Virt::Network>, and defaults to 0 if omitted. =cut @@ -310,14 +312,15 @@ return Sys::Virt::Network->_new(connection => $self, xml => $xml, flags => $flags); } -=item my $net = $conn->define_network($xml, $flags = 0); +=item my $net = $conn->define_network($xml, $flags=0); Defines, but does not start, a new network based on the XML description passed into the C<$xml> parameter. The returned object is an instance of the L<Sys::Virt::Network> class. This method is not available with unprivileged connections to the hypervisor. The defined network can be later started by calling the C<create> method on the returned C<Sys::Virt::Network> -object. +object. The C<$flags> parameter accepts one of the NETWORK DEFINE constants +documented in L<Sys::Virt::Network>, and defaults to 0 if omitted. =cut @@ -334,7 +337,9 @@ Defines a new network filter based on the XML description passed into the C<$xml> parameter. The returned object is an instance of the L<Sys::Virt::NWFilter> class. This method is not available with -unprivileged connections to the hypervisor. +unprivileged connections to the hypervisor. The C<$flags> parameter accepts +one of the NWFILTER DEFINE constants documented in L<Sys::Virt::NWFilter>, +and defaults to 0 if omitted. =cut @@ -346,12 +351,32 @@ return Sys::Virt::NWFilter->_new(connection => $self, xml => $xml, nocreate => 1, flags => $flags); } +=item my $binding = $conn->create_nwfilter_binding($xml, $flags=0); + +Create a new network filter binding based on the XML description passed into the C<$xml> +parameter. The returned object is an instance of the L<Sys::Virt::NWFilterBinding> +class. The C<$flags> parameter accepts one of the NETWORK FILTER BINDING +CREATION constants documented in L<Sys::Virt::NWFilterBinding>, and defaults to +0 if omitted. + +=cut + +sub create_nwfilter_binding { + my $self = shift; + my $xml = shift; + my $flags = shift || 0; + + return Sys::Virt::NWFilterBinding->_new(connection => $self, xml => $xml, flags => $flags); +} + =item my $secret = $conn->define_secret($xml, $flags=0); Defines a new secret based on the XML description passed into the C<$xml> parameter. The returned object is an instance of the L<Sys::Virt::Secret> class. This method is not available with -unprivileged connections to the hypervisor. +unprivileged connections to the hypervisor. The C<$flags> parameter +accepts one of the SECRET DEFINE constants documented in +L<Sys::Virt::Secret>, and defaults to 0 if omitted. =cut @@ -386,7 +411,8 @@ of the L<Sys::Virt::StoragePool> class. This method is not available with unprivileged connections to the hypervisor. The defined pool can be later started by calling the C<create> method on the returned C<Sys::Virt::StoragePool> -object. +object. The C<$flags> parameter accepts one of the STORAGE POOL DEFINE +constants documented in L<Sys::Virt::StoragePool>, and defaults to 0 if omitted. =cut @@ -414,25 +440,6 @@ return Sys::Virt::Interface->_new(connection => $self, xml => $xml); } - -=item my $binding = $conn->create_nwfilter_binding($xml, $flags=0); - -Create a new network filter binding based on the XML description passed into the C<$xml> -parameter. The returned object is an instance of the L<Sys::Virt::NWFilterBinding> -class. - -=cut - -sub create_nwfilter_binding { - my $self = shift; - my $xml = shift; - my $flags = shift || 0; - - return Sys::Virt::NWFilterBinding->_new(connection => $self, xml => $xml, flags => $flags); -} - - - =item my $iface = $conn->define_interface($xml, $flags=0); Defines, but does not start, a new interface based on the XML description @@ -440,7 +447,9 @@ of the L<Sys::Virt::Interface> class. This method is not available with unprivileged connections to the hypervisor. The defined interface can be later started by calling the C<create> method on the returned C<Sys::Virt::Interface> -object. +object. The C<$flags> parameter accepts one of the INTERFACE DEFINE constants +documented in L<Sys::Virt::Interface>, and defaults to 0 if omitted. + =cut diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-8.8.0/lib/Sys/Virt.xs new/Sys-Virt-8.9.0/lib/Sys/Virt.xs --- old/Sys-Virt-8.8.0/lib/Sys/Virt.xs 2022-10-04 20:04:22.000000000 +0200 +++ new/Sys-Virt-8.9.0/lib/Sys/Virt.xs 2022-11-02 12:05:00.000000000 +0100 @@ -9678,6 +9678,8 @@ REGISTER_CONSTANT(VIR_DOMAIN_UNDEFINE_NVRAM, UNDEFINE_NVRAM); REGISTER_CONSTANT(VIR_DOMAIN_UNDEFINE_KEEP_NVRAM, UNDEFINE_KEEP_NVRAM); REGISTER_CONSTANT(VIR_DOMAIN_UNDEFINE_CHECKPOINTS_METADATA, UNDEFINE_CHECKPOINTS_METADATA); + REGISTER_CONSTANT(VIR_DOMAIN_UNDEFINE_TPM, UNDEFINE_TPM); + REGISTER_CONSTANT(VIR_DOMAIN_UNDEFINE_KEEP_TPM, UNDEFINE_KEEP_TPM); REGISTER_CONSTANT(VIR_DOMAIN_START_PAUSED, START_PAUSED); REGISTER_CONSTANT(VIR_DOMAIN_START_AUTODESTROY, START_AUTODESTROY); @@ -9853,6 +9855,7 @@ REGISTER_CONSTANT(VIR_DOMAIN_STATS_IOTHREAD, STATS_IOTHREAD); REGISTER_CONSTANT(VIR_DOMAIN_STATS_MEMORY, STATS_MEMORY); REGISTER_CONSTANT(VIR_DOMAIN_STATS_DIRTYRATE, STATS_DIRTYRATE); + REGISTER_CONSTANT(VIR_DOMAIN_STATS_VM, STATS_VM); 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); ++++++ _service ++++++ --- /var/tmp/diff_new_pack.z6GANN/_old 2022-11-12 17:41:51.734415558 +0100 +++ /var/tmp/diff_new_pack.z6GANN/_new 2022-11-12 17:41:51.738415581 +0100 @@ -1,7 +1,7 @@ <services> <service name="tar_scm" mode="disabled"> <param name="filename">Sys-Virt</param> - <param name="revision">v8.8.0</param> + <param name="revision">v8.9.0</param> <param name="scm">git</param> <param name="submodules">disable</param> <param name="url">https://gitlab.com/libvirt/libvirt-perl.git</param> ++++++ suse-set-migration-constraints.patch ++++++ --- /var/tmp/diff_new_pack.z6GANN/_old 2022-11-12 17:41:51.754415676 +0100 +++ /var/tmp/diff_new_pack.z6GANN/_new 2022-11-12 17:41:51.758415700 +0100 @@ -2,10 +2,10 @@ References: fate#316614, bsc#859868 -Index: Sys-Virt-8.8.0/lib/Sys/Virt/Domain.pm +Index: Sys-Virt-8.9.0/lib/Sys/Virt/Domain.pm =================================================================== ---- Sys-Virt-8.8.0.orig/lib/Sys/Virt/Domain.pm -+++ Sys-Virt-8.8.0/lib/Sys/Virt/Domain.pm +--- Sys-Virt-8.9.0.orig/lib/Sys/Virt/Domain.pm ++++ Sys-Virt-8.9.0/lib/Sys/Virt/Domain.pm @@ -1184,6 +1184,18 @@ omitted libvirt will auto-generate suita only necessary to specify this URI if the destination host has multiple interfaces and a specific interface is required to transmit storage data. @@ -25,10 +25,10 @@ =back =item $ddom = $dom->migrate(destcon, flags=0, dname=undef, uri=undef, bandwidth=0) -Index: Sys-Virt-8.8.0/lib/Sys/Virt.xs +Index: Sys-Virt-8.9.0/lib/Sys/Virt.xs =================================================================== ---- Sys-Virt-8.8.0.orig/lib/Sys/Virt.xs -+++ Sys-Virt-8.8.0/lib/Sys/Virt.xs +--- Sys-Virt-8.9.0.orig/lib/Sys/Virt.xs ++++ Sys-Virt-8.9.0/lib/Sys/Virt.xs @@ -5729,7 +5729,7 @@ _migrate(dom, destcon, newparams, flags= virTypedParameterPtr params; int nparams; @@ -85,7 +85,7 @@ nparams = vir_typed_param_from_hv(newparams, params, nparams); vir_typed_param_add_string_list_from_hv(newparams, ¶ms, &nparams, -@@ -9812,6 +9836,9 @@ BOOT: +@@ -9814,6 +9838,9 @@ BOOT: REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_DISKS_URI, MIGRATE_PARAM_DISKS_URI); REGISTER_CONSTANT(VIR_DOMAIN_MIGRATE_MAX_SPEED_POSTCOPY, MIGRATE_MAX_SPEED_POSTCOPY);
