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 2021-11-07 00:19:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Sys-Virt (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Sys-Virt.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Sys-Virt"

Sun Nov  7 00:19:00 2021 rev:87 rq:929473 version:7.9.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Sys-Virt/perl-Sys-Virt.changes      
2021-10-12 21:50:35.987978784 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Sys-Virt.new.1890/perl-Sys-Virt.changes    
2021-11-07 00:19:02.132551767 +0100
@@ -1,0 +2,7 @@
+Thu Nov  4 16:41:21 UTC 2021 - James Fehlig <jfeh...@suse.com>
+
+- Update to 7.9.0
+  - Add all new APIs and constants in libvirt 7.9.0
+  - jsc#SLE-19264
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ perl-Sys-Virt.spec ++++++
--- /var/tmp/diff_new_pack.Skymis/_old  2021-11-07 00:19:02.896551804 +0100
+++ /var/tmp/diff_new_pack.Skymis/_new  2021-11-07 00:19:02.896551804 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Sys-Virt
-Version:        7.8.0
+Version:        7.9.0
 Release:        0
 %define cpan_name Sys-Virt
 Summary:        Represent and manage a libvirt hypervisor connection

++++++ Sys-Virt-7.8.0.tar.gz -> Sys-Virt-7.9.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-7.8.0/.github/lockdown.yml 
new/Sys-Virt-7.9.0/.github/lockdown.yml
--- old/Sys-Virt-7.8.0/.github/lockdown.yml     2021-10-01 14:57:16.000000000 
+0200
+++ new/Sys-Virt-7.9.0/.github/lockdown.yml     1970-01-01 01:00:00.000000000 
+0100
@@ -1,36 +0,0 @@
-# Configuration for Repo Lockdown - https://github.com/dessant/repo-lockdown
-
-# Close issues and pull requests
-close: true
-
-# Lock issues and pull requests
-lock: true
-
-# Optionally, specify configuration settings just for `issues` or `pulls`
-issues:
-  comment: |
-    Thank you for your interest in the libvirt project.
-
-    Since this repository is a read-only mirror of the project's master 
repostory hosted on GitLab, issues opened here are not processed.
-
-    We kindly request that new issues are reported to
-
-      https://gitlab.com/libvirt/libvirt-perl/-/issues/new
-
-    Thank you for your time and understanding.
-
-pulls:
-  comment: |
-    Thank you for your interest in the libvirt project.
-
-    Since this repository is a read-only mirror of the project's master 
repostory hosted on GitLab, merge requests opened here are not processed.
-
-    We kindly request that contributors fork the project at
-
-      https://gitlab.com/libvirt/libvirt-perl/
-
-    push changes to the fork, and then open a new merge request at
-
-      https://gitlab.com/libvirt/libvirt-perl/-/merge_requests/new
-
-    Thank you for your time and understanding.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-7.8.0/.github/workflows/lockdown.yml 
new/Sys-Virt-7.9.0/.github/workflows/lockdown.yml
--- old/Sys-Virt-7.8.0/.github/workflows/lockdown.yml   1970-01-01 
01:00:00.000000000 +0100
+++ new/Sys-Virt-7.9.0/.github/workflows/lockdown.yml   2021-11-01 
19:18:05.000000000 +0100
@@ -0,0 +1,52 @@
+---
+# Configuration for Repo Lockdown - https://github.com/dessant/repo-lockdown
+
+name: 'Repo Lockdown'
+
+on:
+  issues:
+    types: opened
+  pull_request_target:
+    types: opened
+
+permissions:
+  pull-requests: write
+  issues: write
+
+jobs:
+  action:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: dessant/repo-lockdown@v2
+        with:
+          issue-comment: |
+            Thank you for your interest in the libvirt project.
+
+            Since this repository is a read-only mirror of the project's master
+            repostory hosted on GitLab, issues opened here are not processed.
+
+            We kindly request that new issues are reported to
+
+              https://gitlab.com/libvirt/libvirt-perl/-/issues/new
+
+            Thank you for your time and understanding.
+          lock-issue: true
+          close-issue: true
+          pr-comment: |
+            Thank you for your interest in the libvirt project.
+
+            Since this repository is a read-only mirror of the project's master
+            repostory hosted on GitLab, merge requests opened here are not
+            processed.
+
+            We kindly request that contributors fork the project at
+
+              https://gitlab.com/libvirt/libvirt-perl/
+
+            push changes to the fork, and then open a new merge request at
+
+              https://gitlab.com/libvirt/libvirt-perl/-/merge_requests/new
+
+            Thank you for your time and understanding.
+          lock-pr: true
+          close-pr: true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-7.8.0/Build.PL new/Sys-Virt-7.9.0/Build.PL
--- old/Sys-Virt-7.8.0/Build.PL 2021-10-01 14:57:16.000000000 +0200
+++ new/Sys-Virt-7.9.0/Build.PL 2021-11-01 19:18:05.000000000 +0100
@@ -17,7 +17,7 @@
 use strict;
 use warnings;
 
-my $libvirtver = "7.8.0";
+my $libvirtver = "7.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-7.8.0/Changes new/Sys-Virt-7.9.0/Changes
--- old/Sys-Virt-7.8.0/Changes  2021-10-01 14:57:16.000000000 +0200
+++ new/Sys-Virt-7.9.0/Changes  2021-11-01 19:18:05.000000000 +0100
@@ -1,5 +1,10 @@
 Revision history for perl module Sys::Virt
 
+7.9.0 2021-11-02
+
+ - Add callback for memory device size change domain event
+ - Add VIR_CONNECT_LIST_NODE_DEVICES_CAP_VPD constant
+
 7.8.0 2021-10-01
 
  - Add VIR_NWFILTER_BINDING_CREATE_VALIDATE constant
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-7.8.0/README new/Sys-Virt-7.9.0/README
--- old/Sys-Virt-7.8.0/README   2021-10-01 14:57:16.000000000 +0200
+++ new/Sys-Virt-7.9.0/README   2021-11-01 19:18:05.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 7.8.0
+The current minimum required version of libvirt is 7.9.0
 
 -- End
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-7.8.0/lib/Sys/Virt/Domain.pm 
new/Sys-Virt-7.9.0/lib/Sys/Virt/Domain.pm
--- old/Sys-Virt-7.8.0/lib/Sys/Virt/Domain.pm   2021-10-01 14:57:16.000000000 
+0200
+++ new/Sys-Virt-7.9.0/lib/Sys/Virt/Domain.pm   2021-11-01 19:18:05.000000000 
+0100
@@ -3750,6 +3750,11 @@
 The event occurs when the hypervisor detects hardware
 memory corruption.
 
+=item Sys::Virt::Domain::EVENT_ID_MEMORY_DEVICE_SIZE_CHANGE
+
+The event occurs when the guest accepts a request to change
+the memory device size.
+
 =back
 
 =head2 IO ERROR EVENT CONSTANTS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-7.8.0/lib/Sys/Virt/NodeDevice.pm 
new/Sys-Virt-7.9.0/lib/Sys/Virt/NodeDevice.pm
--- old/Sys-Virt-7.8.0/lib/Sys/Virt/NodeDevice.pm       2021-10-01 
14:57:16.000000000 +0200
+++ new/Sys-Virt-7.9.0/lib/Sys/Virt/NodeDevice.pm       2021-11-01 
19:18:05.000000000 +0100
@@ -236,6 +236,10 @@
 
 Include s390 AP queue devices
 
+=item Sys::Virt::NodeDevice::LIST_CAP_VPD
+
+Include PCI devices with VPD
+
 =item Sys::Virt::NodeDevice::LIST_ACTIVE
 
 Include active devices
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-7.8.0/lib/Sys/Virt.pm 
new/Sys-Virt-7.9.0/lib/Sys/Virt.pm
--- old/Sys-Virt-7.8.0/lib/Sys/Virt.pm  2021-10-01 14:57:16.000000000 +0200
+++ new/Sys-Virt-7.9.0/lib/Sys/Virt.pm  2021-11-01 19:18:05.000000000 +0100
@@ -81,7 +81,7 @@
 use Sys::Virt::DomainCheckpoint;
 use Sys::Virt::Stream;
 
-our $VERSION = '7.8.0';
+our $VERSION = '7.9.0';
 require XSLoader;
 XSLoader::load('Sys::Virt', $VERSION);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-7.8.0/lib/Sys/Virt.xs 
new/Sys-Virt-7.9.0/lib/Sys/Virt.xs
--- old/Sys-Virt-7.8.0/lib/Sys/Virt.xs  2021-10-01 14:57:16.000000000 +0200
+++ new/Sys-Virt-7.9.0/lib/Sys/Virt.xs  2021-11-01 19:18:05.000000000 +0100
@@ -1275,6 +1275,48 @@
 
 
 static int
+_domain_event_memory_device_size_change_callback(virConnectPtr con,
+                                                virDomainPtr dom,
+                                                const char *alias,
+                                                unsigned long long size,
+                                                void *opaque)
+{
+    AV *data = opaque;
+    SV **self;
+    SV **cb;
+    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);
+    XPUSHs(domref);
+    XPUSHs(sv_2mortal(newSVpv(alias, 0)));
+    XPUSHs(sv_2mortal(virt_newSVull(size)));
+    PUTBACK;
+
+    call_sv(*cb, G_DISCARD);
+
+    FREETMPS;
+    LEAVE;
+
+    SvREFCNT_dec(*self);
+
+    return 0;
+}
+
+
+static int
 _network_event_lifecycle_callback(virConnectPtr con,
                                  virNetworkPtr net,
                                  int event,
@@ -3882,6 +3924,9 @@
       case VIR_DOMAIN_EVENT_ID_MEMORY_FAILURE:
           callback = 
VIR_DOMAIN_EVENT_CALLBACK(_domain_event_memory_failure_callback);
           break;
+      case VIR_DOMAIN_EVENT_ID_MEMORY_DEVICE_SIZE_CHANGE:
+          callback = 
VIR_DOMAIN_EVENT_CALLBACK(_domain_event_memory_device_size_change_callback);
+          break;
       default:
           callback = VIR_DOMAIN_EVENT_CALLBACK(_domain_event_generic_callback);
           break;
@@ -9828,6 +9873,7 @@
       REGISTER_CONSTANT(VIR_DOMAIN_EVENT_ID_METADATA_CHANGE, 
EVENT_ID_METADATA_CHANGE);
       REGISTER_CONSTANT(VIR_DOMAIN_EVENT_ID_BLOCK_THRESHOLD, 
EVENT_ID_BLOCK_THRESHOLD);
       REGISTER_CONSTANT(VIR_DOMAIN_EVENT_ID_MEMORY_FAILURE, 
EVENT_ID_MEMORY_FAILURE);
+      REGISTER_CONSTANT(VIR_DOMAIN_EVENT_ID_MEMORY_DEVICE_SIZE_CHANGE, 
EVENT_ID_MEMORY_DEVICE_SIZE_CHANGE);
 
       REGISTER_CONSTANT(VIR_DOMAIN_EVENT_WATCHDOG_NONE, EVENT_WATCHDOG_NONE);
       REGISTER_CONSTANT(VIR_DOMAIN_EVENT_WATCHDOG_PAUSE, EVENT_WATCHDOG_PAUSE);
@@ -10443,6 +10489,7 @@
       REGISTER_CONSTANT(VIR_CONNECT_LIST_NODE_DEVICES_CAP_AP_CARD, 
LIST_CAP_AP_CARD);
       REGISTER_CONSTANT(VIR_CONNECT_LIST_NODE_DEVICES_CAP_AP_MATRIX, 
LIST_CAP_AP_MATRIX);
       REGISTER_CONSTANT(VIR_CONNECT_LIST_NODE_DEVICES_CAP_AP_QUEUE, 
LIST_CAP_AP_QUEUE);
+      REGISTER_CONSTANT(VIR_CONNECT_LIST_NODE_DEVICES_CAP_VPD, LIST_CAP_VPD);
       REGISTER_CONSTANT(VIR_CONNECT_LIST_NODE_DEVICES_ACTIVE, LIST_ACTIVE);
       REGISTER_CONSTANT(VIR_CONNECT_LIST_NODE_DEVICES_INACTIVE, LIST_INACTIVE);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-7.8.0/t/030-api-coverage.t 
new/Sys-Virt-7.9.0/t/030-api-coverage.t
--- old/Sys-Virt-7.8.0/t/030-api-coverage.t     2021-10-01 14:57:16.000000000 
+0200
+++ new/Sys-Virt-7.9.0/t/030-api-coverage.t     2021-11-01 19:18:05.000000000 
+0100
@@ -99,6 +99,7 @@
 virConnectDomainEventMetadataChangeCallback
 virConnectDomainEventBlockThresholdCallback
 virConnectDomainEventMemoryFailureCallback
+virConnectDomainEventMemoryDeviceSizeChangeCallback
 
 virConnectNetworkEventLifecycleCallback
 

++++++ _service ++++++
--- /var/tmp/diff_new_pack.Skymis/_old  2021-11-07 00:19:03.040551811 +0100
+++ /var/tmp/diff_new_pack.Skymis/_new  2021-11-07 00:19:03.044551810 +0100
@@ -1,7 +1,7 @@
 <services>
   <service name="tar_scm" mode="disabled">
     <param name="filename">Sys-Virt</param>
-    <param name="revision">v7.8.0</param>
+    <param name="revision">v7.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.Skymis/_old  2021-11-07 00:19:03.056551812 +0100
+++ /var/tmp/diff_new_pack.Skymis/_new  2021-11-07 00:19:03.056551812 +0100
@@ -2,10 +2,10 @@
 
 References: fate#316614, bsc#859868
 
-Index: Sys-Virt-7.8.0/lib/Sys/Virt/Domain.pm
+Index: Sys-Virt-7.9.0/lib/Sys/Virt/Domain.pm
 ===================================================================
---- Sys-Virt-7.8.0.orig/lib/Sys/Virt/Domain.pm
-+++ Sys-Virt-7.8.0/lib/Sys/Virt/Domain.pm
+--- Sys-Virt-7.9.0.orig/lib/Sys/Virt/Domain.pm
++++ Sys-Virt-7.9.0/lib/Sys/Virt/Domain.pm
 @@ -1176,6 +1176,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,11 +25,11 @@
  =back
  
  =item $ddom = $dom->migrate(destcon, flags=0, dname=undef, uri=undef, 
bandwidth=0)
-Index: Sys-Virt-7.8.0/lib/Sys/Virt.xs
+Index: Sys-Virt-7.9.0/lib/Sys/Virt.xs
 ===================================================================
---- Sys-Virt-7.8.0.orig/lib/Sys/Virt.xs
-+++ Sys-Virt-7.8.0/lib/Sys/Virt.xs
-@@ -5535,7 +5535,7 @@ _migrate(dom, destcon, newparams, flags=
+--- Sys-Virt-7.9.0.orig/lib/Sys/Virt.xs
++++ Sys-Virt-7.9.0/lib/Sys/Virt.xs
+@@ -5580,7 +5580,7 @@ _migrate(dom, destcon, newparams, flags=
       virTypedParameterPtr params;
       int nparams;
      CODE:
@@ -38,7 +38,7 @@
       Newx(params, nparams, virTypedParameter);
  
       strncpy(params[0].field, VIR_MIGRATE_PARAM_URI,
-@@ -5614,6 +5614,18 @@ _migrate(dom, destcon, newparams, flags=
+@@ -5659,6 +5659,18 @@ _migrate(dom, destcon, newparams, flags=
               VIR_TYPED_PARAM_FIELD_LENGTH);
       params[18].type = VIR_TYPED_PARAM_STRING;
  
@@ -57,7 +57,7 @@
       nparams = vir_typed_param_from_hv(newparams, params, nparams);
  
       vir_typed_param_add_string_list_from_hv(newparams, &params, &nparams,
-@@ -5642,7 +5654,7 @@ _migrate_to_uri(dom, desturi, newparams,
+@@ -5687,7 +5699,7 @@ _migrate_to_uri(dom, desturi, newparams,
       virTypedParameterPtr params;
       int nparams;
    PPCODE:
@@ -66,7 +66,7 @@
       Newx(params, nparams, virTypedParameter);
  
       strncpy(params[0].field, VIR_MIGRATE_PARAM_URI,
-@@ -5721,6 +5733,18 @@ _migrate_to_uri(dom, desturi, newparams,
+@@ -5766,6 +5778,18 @@ _migrate_to_uri(dom, desturi, newparams,
               VIR_TYPED_PARAM_FIELD_LENGTH);
       params[18].type = VIR_TYPED_PARAM_STRING;
  
@@ -85,7 +85,7 @@
       nparams = vir_typed_param_from_hv(newparams, params, nparams);
  
       vir_typed_param_add_string_list_from_hv(newparams, &params, &nparams,
-@@ -9599,6 +9623,9 @@ BOOT:
+@@ -9644,6 +9668,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);

Reply via email to