Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package xen for openSUSE:Factory checked in 
at 2023-08-11 15:55:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xen (Old)
 and      /work/SRC/openSUSE:Factory/.xen.new.11712 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xen"

Fri Aug 11 15:55:17 2023 rev:335 rq:1103355 version:4.17.2_02

Changes:
--------
--- /work/SRC/openSUSE:Factory/xen/xen.changes  2023-08-06 16:29:30.279675762 
+0200
+++ /work/SRC/openSUSE:Factory/.xen.new.11712/xen.changes       2023-08-11 
15:55:25.499724005 +0200
@@ -1,0 +2,32 @@
+Thu Aug 10 11:10:00 CEST 2023 - jbeul...@suse.com
+
+- bsc#1212684 - xentop fails with long interface name
+  64d33a57-libxenstat-Linux-nul-terminate-string.patch
+
+-------------------------------------------------------------------
+Tue Aug  8 11:36:00 MDT 2023 - carn...@suse.com
+
+- Update to Xen 4.17.2 bug fix release (bsc#1027519)
+  xen-4.17.2-testing-src.tar.bz2
+  * No upstream changelog found in sources or webpage
+- bsc#1214082 - VUL-0: CVE-2023-20569: xen: x86/AMD: Speculative
+  Return Stack Overflow (XSA-434)
+- bsc#1214083 - VUL-0: CVE-2022-40982: xen: x86/Intel: Gather Data
+  Sampling (XSA-435)
+- Dropped patches contained in new tarball
+  64525c61-tools-libs-guest-assist-gcc13s-realloc-analyzer.patch
+  645dec48-AMD-IOMMU-assert-boolean-enum.patch
+  64639e84-amd-fix-legacy-setting-of-SSBD-on-AMD-Family-17h.patch
+  646b782b-PCI-pci_get_pdev-respect-segment.patch
+  647dfb0e-x86-missing-unlock-in-microcode_update_helper.patch
+  648863fc-AMD-IOMMU-Invalidate-All-check.patch
+  64bea1b2-x86-AMD-Zenbleed.patch
+
+-------------------------------------------------------------------
+Tue Aug  1 11:11:11 UTC 2023 - oher...@suse.de
+
+- Handle potential off-by-one errors in libxc-sr-xg_sr_bitmap.patch
+  A bit is an index in bitmap, while bits is the allocated size
+  of the bitmap.
+
+-------------------------------------------------------------------

Old:
----
  64525c61-tools-libs-guest-assist-gcc13s-realloc-analyzer.patch
  645dec48-AMD-IOMMU-assert-boolean-enum.patch
  64639e84-amd-fix-legacy-setting-of-SSBD-on-AMD-Family-17h.patch
  646b782b-PCI-pci_get_pdev-respect-segment.patch
  647dfb0e-x86-missing-unlock-in-microcode_update_helper.patch
  648863fc-AMD-IOMMU-Invalidate-All-check.patch
  64bea1b2-x86-AMD-Zenbleed.patch
  xen-4.17.1-testing-src.tar.bz2

New:
----
  64d33a57-libxenstat-Linux-nul-terminate-string.patch
  xen-4.17.2-testing-src.tar.bz2

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

Other differences:
------------------
++++++ xen.spec ++++++
--- /var/tmp/diff_new_pack.HwViuV/_old  2023-08-11 15:55:26.979732824 +0200
+++ /var/tmp/diff_new_pack.HwViuV/_new  2023-08-11 15:55:26.983732848 +0200
@@ -28,7 +28,7 @@
 
 Name:           xen
 ExclusiveArch:  %ix86 x86_64 aarch64
-%define xen_build_dir xen-4.17.1-testing
+%define xen_build_dir xen-4.17.2-testing
 #
 %define with_gdbsx 0
 %define with_dom0_support 0
@@ -119,12 +119,12 @@
 %endif
 Provides:       installhint(reboot-needed)
 
-Version:        4.17.1_06
+Version:        4.17.2_02
 Release:        0
 Summary:        Xen Virtualization: Hypervisor (aka VMM aka Microkernel)
 License:        GPL-2.0-only
 Group:          System/Kernel
-Source0:        xen-4.17.1-testing-src.tar.bz2
+Source0:        xen-4.17.2-testing-src.tar.bz2
 Source1:        stubdom.tar.bz2
 Source2:        mini-os.tar.bz2
 Source3:        xen-utils-0.1.tar.bz2
@@ -159,13 +159,7 @@
 Patch2:         643e3810-CONFIG_DEBUG_INFO-no-EXPERT.patch
 Patch3:         643e387f-xen-update-CONFIG_DEBUG_INFO-help-text.patch
 Patch4:         6447a8fd-x86-EFI-permit-crash-dump-analysis.patch
-Patch5:         64525c61-tools-libs-guest-assist-gcc13s-realloc-analyzer.patch
-Patch6:         645dec48-AMD-IOMMU-assert-boolean-enum.patch
-Patch7:         64639e84-amd-fix-legacy-setting-of-SSBD-on-AMD-Family-17h.patch
-Patch8:         646b782b-PCI-pci_get_pdev-respect-segment.patch
-Patch9:         647dfb0e-x86-missing-unlock-in-microcode_update_helper.patch
-Patch10:        648863fc-AMD-IOMMU-Invalidate-All-check.patch
-Patch11:        64bea1b2-x86-AMD-Zenbleed.patch
+Patch5:         64d33a57-libxenstat-Linux-nul-terminate-string.patch
 # EMBARGOED security fixes
 # libxc
 Patch301:       libxc-bitmap-long.patch

++++++ 6447a8fd-x86-EFI-permit-crash-dump-analysis.patch ++++++
--- /var/tmp/diff_new_pack.HwViuV/_old  2023-08-11 15:55:27.019733062 +0200
+++ /var/tmp/diff_new_pack.HwViuV/_new  2023-08-11 15:55:27.023733086 +0200
@@ -52,7 +52,7 @@
        rm -f cppcheck-misra.* xen-cppcheck.xml
 --- a/xen/arch/x86/Makefile
 +++ b/xen/arch/x86/Makefile
-@@ -224,6 +224,9 @@ endif
+@@ -225,6 +225,9 @@ endif
              $(@D)/.$(@F).1r.o $(@D)/.$(@F).1s.o $(orphan-handling-y) 
$(note_file_option) -o $@
        $(NM) -pa --format=sysv $(@D)/$(@F) \
                | $(objtree)/tools/symbols --all-symbols --xensyms --sysv 
--sort >$(@D)/$(@F).map

++++++ 64d33a57-libxenstat-Linux-nul-terminate-string.patch ++++++

References: bsc#1212684

# Commit 82f7f7be462ddb435c60aef86960252240bf03c7
# Date 2023-08-09 09:03:51 +0200
# Author Jan Beulich <jbeul...@suse.com>
# Committer Jan Beulich <jbeul...@suse.com>
libxenstat/Linux: pass nul-terminated string to strpbrk()

While what "tmp" points to has been cleared at the end of the first
iteration of parseNetDevLine()'s main loop, this is too late for the
first iteration's invocation of strpbrk() (copying the interface name).
Properly nul-terminate the string at population time instead, removing
the late clearing.

While there also eliminate a confusing (because of being wrong) comment:
A regex parsing error would be handled one further scope outwards. Here
we're dealing with field 1 vs any of the later fields.

Signed-off-by: Jan Beulich <jbeul...@suse.com>
Reviewed-by: Juergen Gross <jgr...@suse.com>
Acked-by: Anthony PERARD <anthony.per...@citrix.com>

--- a/tools/libs/stat/xenstat_linux.c
+++ b/tools/libs/stat/xenstat_linux.c
@@ -169,6 +169,7 @@ static int parseNetDevLine(char *line, c
                                                        matches[i].rm_so + 1) * 
sizeof(char));
                                for (x = matches[i].rm_so; x < 
matches[i].rm_eo; x++)
                                        tmp[x - matches[i].rm_so] = line[x];
+                               tmp[x - matches[i].rm_so] = 0;
 
                                /* We populate all the fields from 
/proc/net/dev line */
                                if (i > 1) {
@@ -225,15 +226,11 @@ static int parseNetDevLine(char *line, c
                                                        break;
                                        }
                                }
-                               else
-                               /* There were errors when parsing this directly 
in RE. strpbrk() helps */
-                               if (iface != NULL) {
+                               else if (iface != NULL) {
                                        char *tmp2 = strpbrk(tmp, 
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789");
                                        if (tmp2 != NULL)
                                                strcpy(iface, tmp2);
                                }
-
-                               memset(tmp, 0, matches[i].rm_eo - 
matches[i].rm_so);
                        }
                }
        }

++++++ build-python3-conversion.patch ++++++
--- /var/tmp/diff_new_pack.HwViuV/_old  2023-08-11 15:55:27.119733658 +0200
+++ /var/tmp/diff_new_pack.HwViuV/_new  2023-08-11 15:55:27.123733682 +0200
@@ -1,7 +1,7 @@
-Index: xen-4.17.0-testing/Config.mk
+Index: xen-4.17.2-testing/Config.mk
 ===================================================================
---- xen-4.17.0-testing.orig/Config.mk
-+++ xen-4.17.0-testing/Config.mk
+--- xen-4.17.2-testing.orig/Config.mk
++++ xen-4.17.2-testing/Config.mk
 @@ -73,7 +73,7 @@ EXTRA_INCLUDES += $(EXTRA_PREFIX)/includ
  EXTRA_LIB += $(EXTRA_PREFIX)/lib
  endif
@@ -11,11 +11,11 @@
  PYTHON_PREFIX_ARG ?= --prefix="$(prefix)"
  # The above requires that prefix contains *no spaces*. This variable is here
  # to permit the user to set PYTHON_PREFIX_ARG to '' to workaround this bug:
-Index: xen-4.17.0-testing/tools/configure
+Index: xen-4.17.2-testing/tools/configure
 ===================================================================
---- xen-4.17.0-testing.orig/tools/configure
-+++ xen-4.17.0-testing/tools/configure
-@@ -7343,15 +7343,15 @@ if test x"${PYTHONPATH}" = x"no"
+--- xen-4.17.2-testing.orig/tools/configure
++++ xen-4.17.2-testing/tools/configure
+@@ -7340,15 +7340,15 @@ if test x"${PYTHONPATH}" = x"no"
  then
      as_fn_error $? "Unable to find $PYTHON, please install $PYTHON" "$LINENO" 
5
  fi
@@ -35,11 +35,11 @@
  else
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  $as_echo "yes" >&6; }
-Index: xen-4.17.0-testing/tools/configure.ac
+Index: xen-4.17.2-testing/tools/configure.ac
 ===================================================================
---- xen-4.17.0-testing.orig/tools/configure.ac
-+++ xen-4.17.0-testing/tools/configure.ac
-@@ -361,7 +361,7 @@ PYTHONPATH=$PYTHON
+--- xen-4.17.2-testing.orig/tools/configure.ac
++++ xen-4.17.2-testing/tools/configure.ac
+@@ -360,7 +360,7 @@ PYTHONPATH=$PYTHON
  PYTHON=`basename $PYTHONPATH`
  
  AX_PATH_PROG_OR_FAIL([PYTHONPATH], [$PYTHON])
@@ -48,10 +48,10 @@
  
  AS_IF([test "$cross_compiling" != yes], [
      AX_CHECK_PYTHON_DEVEL()
-Index: xen-4.17.0-testing/tools/libs/light/idl.py
+Index: xen-4.17.2-testing/tools/libs/light/idl.py
 ===================================================================
---- xen-4.17.0-testing.orig/tools/libs/light/idl.py
-+++ xen-4.17.0-testing/tools/libs/light/idl.py
+--- xen-4.17.2-testing.orig/tools/libs/light/idl.py
++++ xen-4.17.2-testing/tools/libs/light/idl.py
 @@ -271,7 +271,7 @@ class KeyedUnion(Aggregate):
          if not isinstance(keyvar_type, Enumeration):
              raise ValueError
@@ -79,30 +79,30 @@
          if isinstance(t, Type):
              globs[n] = t
          elif isinstance(t,type(object)) and issubclass(t, Type):
-Index: xen-4.17.0-testing/tools/libs/light/gentest.py
+Index: xen-4.17.2-testing/tools/libs/light/gentest.py
 ===================================================================
---- xen-4.17.0-testing.orig/tools/libs/light/gentest.py
-+++ xen-4.17.0-testing/tools/libs/light/gentest.py
+--- xen-4.17.2-testing.orig/tools/libs/light/gentest.py
++++ xen-4.17.2-testing/tools/libs/light/gentest.py
 @@ -1,4 +1,4 @@
 -#!/usr/bin/python
 +#!/usr/bin/python3
  
  from __future__ import print_function
  
-Index: xen-4.17.0-testing/tools/libs/light/gentypes.py
+Index: xen-4.17.2-testing/tools/libs/light/gentypes.py
 ===================================================================
---- xen-4.17.0-testing.orig/tools/libs/light/gentypes.py
-+++ xen-4.17.0-testing/tools/libs/light/gentypes.py
+--- xen-4.17.2-testing.orig/tools/libs/light/gentypes.py
++++ xen-4.17.2-testing/tools/libs/light/gentypes.py
 @@ -1,4 +1,4 @@
 -#!/usr/bin/python
 +#!/usr/bin/python3
  
  from __future__ import print_function
  
-Index: xen-4.17.0-testing/tools/ocaml/libs/xentoollog/genlevels.py
+Index: xen-4.17.2-testing/tools/ocaml/libs/xentoollog/genlevels.py
 ===================================================================
---- xen-4.17.0-testing.orig/tools/ocaml/libs/xentoollog/genlevels.py
-+++ xen-4.17.0-testing/tools/ocaml/libs/xentoollog/genlevels.py
+--- xen-4.17.2-testing.orig/tools/ocaml/libs/xentoollog/genlevels.py
++++ xen-4.17.2-testing/tools/ocaml/libs/xentoollog/genlevels.py
 @@ -89,7 +89,7 @@ def gen_c(level):
  def autogen_header(open_comment, close_comment):
      s = open_comment + " AUTO-GENERATED FILE DO NOT EDIT " + close_comment + 
"\n"
@@ -112,60 +112,60 @@
      s += "%s" % " ".join(sys.argv)
      s += "\n " + close_comment + "\n\n"
      return s
-Index: xen-4.17.0-testing/tools/include/xen-foreign/mkheader.py
+Index: xen-4.17.2-testing/tools/include/xen-foreign/mkheader.py
 ===================================================================
---- xen-4.17.0-testing.orig/tools/include/xen-foreign/mkheader.py
-+++ xen-4.17.0-testing/tools/include/xen-foreign/mkheader.py
+--- xen-4.17.2-testing.orig/tools/include/xen-foreign/mkheader.py
++++ xen-4.17.2-testing/tools/include/xen-foreign/mkheader.py
 @@ -1,4 +1,4 @@
 -#!/usr/bin/python
 +#!/usr/bin/python3
  
  from __future__ import print_function
  
-Index: xen-4.17.0-testing/tools/include/xen-foreign/mkchecker.py
+Index: xen-4.17.2-testing/tools/include/xen-foreign/mkchecker.py
 ===================================================================
---- xen-4.17.0-testing.orig/tools/include/xen-foreign/mkchecker.py
-+++ xen-4.17.0-testing/tools/include/xen-foreign/mkchecker.py
+--- xen-4.17.2-testing.orig/tools/include/xen-foreign/mkchecker.py
++++ xen-4.17.2-testing/tools/include/xen-foreign/mkchecker.py
 @@ -1,4 +1,4 @@
 -#!/usr/bin/python
 +#!/usr/bin/python3
  
  import sys;
  from structs import structs, compat_arches;
-Index: xen-4.17.0-testing/xen/tools/gen-cpuid.py
+Index: xen-4.17.2-testing/xen/tools/gen-cpuid.py
 ===================================================================
---- xen-4.17.0-testing.orig/xen/tools/gen-cpuid.py
-+++ xen-4.17.0-testing/xen/tools/gen-cpuid.py
+--- xen-4.17.2-testing.orig/xen/tools/gen-cpuid.py
++++ xen-4.17.2-testing/xen/tools/gen-cpuid.py
 @@ -1,4 +1,4 @@
 -#!/usr/bin/env python
 +#!/usr/bin/python3
  # -*- coding: utf-8 -*-
  
  import sys, os, re
-Index: xen-4.17.0-testing/xen/tools/compat-build-source.py
+Index: xen-4.17.2-testing/xen/tools/compat-build-source.py
 ===================================================================
---- xen-4.17.0-testing.orig/xen/tools/compat-build-source.py
-+++ xen-4.17.0-testing/xen/tools/compat-build-source.py
+--- xen-4.17.2-testing.orig/xen/tools/compat-build-source.py
++++ xen-4.17.2-testing/xen/tools/compat-build-source.py
 @@ -1,4 +1,4 @@
 -#!/usr/bin/env python
 +#!/usr/bin/python3
  
  import re,sys
  
-Index: xen-4.17.0-testing/xen/tools/compat-build-header.py
+Index: xen-4.17.2-testing/xen/tools/compat-build-header.py
 ===================================================================
---- xen-4.17.0-testing.orig/xen/tools/compat-build-header.py
-+++ xen-4.17.0-testing/xen/tools/compat-build-header.py
+--- xen-4.17.2-testing.orig/xen/tools/compat-build-header.py
++++ xen-4.17.2-testing/xen/tools/compat-build-header.py
 @@ -1,4 +1,4 @@
 -#!/usr/bin/env python
 +#!/usr/bin/python3
  
  import re,sys
  
-Index: xen-4.17.0-testing/tools/misc/xensymoops
+Index: xen-4.17.2-testing/tools/misc/xensymoops
 ===================================================================
---- xen-4.17.0-testing.orig/tools/misc/xensymoops
-+++ xen-4.17.0-testing/tools/misc/xensymoops
+--- xen-4.17.2-testing.orig/tools/misc/xensymoops
++++ xen-4.17.2-testing/tools/misc/xensymoops
 @@ -1,4 +1,4 @@
 -#!/usr/bin/env python
 +#!/usr/bin/python3

++++++ libxc-sr-LIBXL_HAVE_DOMAIN_SUSPEND_PROPS.patch ++++++
--- /var/tmp/diff_new_pack.HwViuV/_old  2023-08-11 15:55:27.151733848 +0200
+++ /var/tmp/diff_new_pack.HwViuV/_new  2023-08-11 15:55:27.155733872 +0200
@@ -21,7 +21,7 @@
 
 --- a/tools/include/libxl.h
 +++ b/tools/include/libxl.h
-@@ -1765,13 +1765,28 @@ static inline int libxl_retrieve_domain_
+@@ -1761,13 +1761,28 @@ static inline int libxl_retrieve_domain_
      libxl_retrieve_domain_configuration_0x041200
  #endif
  

++++++ libxc-sr-abort_if_busy.patch ++++++
--- /var/tmp/diff_new_pack.HwViuV/_old  2023-08-11 15:55:27.167733944 +0200
+++ /var/tmp/diff_new_pack.HwViuV/_new  2023-08-11 15:55:27.171733968 +0200
@@ -53,7 +53,7 @@
  =item B<remus> [I<OPTIONS>] I<domain-id> I<host>
 --- a/tools/include/libxl.h
 +++ b/tools/include/libxl.h
-@@ -1778,6 +1778,7 @@ typedef struct {
+@@ -1774,6 +1774,7 @@ typedef struct {
  } libxl_domain_suspend_suse_properties;
  #define LIBXL_SUSPEND_DEBUG 1
  #define LIBXL_SUSPEND_LIVE 2

++++++ libxc-sr-max_iters.patch ++++++
--- /var/tmp/diff_new_pack.HwViuV/_old  2023-08-11 15:55:27.179734015 +0200
+++ /var/tmp/diff_new_pack.HwViuV/_new  2023-08-11 15:55:27.183734039 +0200
@@ -46,7 +46,7 @@
  =item B<remus> [I<OPTIONS>] I<domain-id> I<host>
 --- a/tools/include/libxl.h
 +++ b/tools/include/libxl.h
-@@ -1773,6 +1773,7 @@ static inline int libxl_retrieve_domain_
+@@ -1769,6 +1769,7 @@ static inline int libxl_retrieve_domain_
  
  typedef struct {
      uint32_t flags; /* LIBXL_SUSPEND_* */

++++++ libxc-sr-min_remaining.patch ++++++
--- /var/tmp/diff_new_pack.HwViuV/_old  2023-08-11 15:55:27.191734087 +0200
+++ /var/tmp/diff_new_pack.HwViuV/_new  2023-08-11 15:55:27.195734111 +0200
@@ -51,7 +51,7 @@
  =item B<remus> [I<OPTIONS>] I<domain-id> I<host>
 --- a/tools/include/libxl.h
 +++ b/tools/include/libxl.h
-@@ -1774,6 +1774,7 @@ static inline int libxl_retrieve_domain_
+@@ -1770,6 +1770,7 @@ static inline int libxl_retrieve_domain_
  typedef struct {
      uint32_t flags; /* LIBXL_SUSPEND_* */
      uint32_t max_iters;

++++++ libxc-sr-restore-hvm-legacy-superpage.patch ++++++
--- /var/tmp/diff_new_pack.HwViuV/_old  2023-08-11 15:55:27.215734230 +0200
+++ /var/tmp/diff_new_pack.HwViuV/_new  2023-08-11 15:55:27.223734278 +0200
@@ -44,7 +44,7 @@
  
 --- a/tools/libs/guest/xg_private.h
 +++ b/tools/libs/guest/xg_private.h
-@@ -180,4 +180,9 @@ struct xc_cpu_policy {
+@@ -179,4 +179,9 @@ struct xc_cpu_policy {
  };
  #endif /* x86 */
  

++++++ libxc-sr-xg_sr_bitmap.patch ++++++
--- /var/tmp/diff_new_pack.HwViuV/_old  2023-08-11 15:55:27.267734540 +0200
+++ /var/tmp/diff_new_pack.HwViuV/_new  2023-08-11 15:55:27.267734540 +0200
@@ -92,7 +92,7 @@
 +
 +static inline bool sr_set_bit(unsigned long bit, struct sr_bitmap *bm)
 +{
-+    if (sr_bitmap_expand(bm, bit) == false)
++    if (sr_bitmap_expand(bm, bit + 1) == false)
 +        return false;
 +
 +    set_bit(bit, bm->p);
@@ -101,7 +101,7 @@
 +
 +static inline bool sr_test_bit(unsigned long bit, struct sr_bitmap *bm)
 +{
-+    if (bit > bm->bits)
++    if (bit + 1 > bm->bits)
 +        return false;
 +    return !!test_bit(bit, bm->p);
 +}
@@ -114,7 +114,7 @@
 +
 +static inline bool sr_test_and_clear_bit(unsigned long bit, struct sr_bitmap 
*bm)
 +{
-+    if (bit > bm->bits)
++    if (bit + 1 > bm->bits)
 +        return false;
 +    return !!test_and_clear_bit(bit, bm->p);
 +}
@@ -122,14 +122,14 @@
 +/* No way to report potential allocation error, bitmap must be expanded prior 
usage */
 +static inline bool sr_test_and_set_bit(unsigned long bit, struct sr_bitmap 
*bm)
 +{
-+    if (bit > bm->bits)
++    if (bit + 1 > bm->bits)
 +        return false;
 +    return !!test_and_set_bit(bit, bm->p);
 +}
 +
 +static inline bool sr_set_long_bit(unsigned long base_bit, struct sr_bitmap 
*bm)
 +{
-+    if (sr_bitmap_expand(bm, base_bit + BITS_PER_LONG) == false)
++    if (sr_bitmap_expand(bm, base_bit + BITS_PER_LONG + 1) == false)
 +        return false;
 +
 +    set_bit_long(base_bit, bm->p);

++++++ libxl.LIBXL_HOTPLUG_TIMEOUT.patch ++++++
--- /var/tmp/diff_new_pack.HwViuV/_old  2023-08-11 15:55:27.279734611 +0200
+++ /var/tmp/diff_new_pack.HwViuV/_new  2023-08-11 15:55:27.283734635 +0200
@@ -52,10 +52,10 @@
 The change for libxl which handles this xenstore value will enable
 additional logging if the key is found. That extra logging will show how
 the execution time of each script.
-Index: xen-4.17.0-testing/tools/libs/light/libxl_aoutils.c
+Index: xen-4.17.2-testing/tools/libs/light/libxl_aoutils.c
 ===================================================================
---- xen-4.17.0-testing.orig/tools/libs/light/libxl_aoutils.c
-+++ xen-4.17.0-testing/tools/libs/light/libxl_aoutils.c
+--- xen-4.17.2-testing.orig/tools/libs/light/libxl_aoutils.c
++++ xen-4.17.2-testing/tools/libs/light/libxl_aoutils.c
 @@ -529,6 +529,8 @@ static void async_exec_timeout(libxl__eg
  {
      libxl__async_exec_state *aes = CONTAINER_OF(ev, *aes, time);
@@ -85,10 +85,10 @@
  
      libxl__ev_time_deregister(gc, &aes->time);
  
-Index: xen-4.17.0-testing/tools/libs/light/libxl_create.c
+Index: xen-4.17.2-testing/tools/libs/light/libxl_create.c
 ===================================================================
---- xen-4.17.0-testing.orig/tools/libs/light/libxl_create.c
-+++ xen-4.17.0-testing/tools/libs/light/libxl_create.c
+--- xen-4.17.2-testing.orig/tools/libs/light/libxl_create.c
++++ xen-4.17.2-testing/tools/libs/light/libxl_create.c
 @@ -1308,6 +1308,7 @@ static void initiate_domain_create(libxl
       * build info around just to know if the domain has a device model or not.
       */
@@ -97,10 +97,10 @@
  
      for (i = 0; i < d_config->num_disks; i++) {
          ret = libxl__disk_devtype.set_default(gc, domid, &d_config->disks[i],
-Index: xen-4.17.0-testing/tools/libs/light/libxl_device.c
+Index: xen-4.17.2-testing/tools/libs/light/libxl_device.c
 ===================================================================
---- xen-4.17.0-testing.orig/tools/libs/light/libxl_device.c
-+++ xen-4.17.0-testing/tools/libs/light/libxl_device.c
+--- xen-4.17.2-testing.orig/tools/libs/light/libxl_device.c
++++ xen-4.17.2-testing/tools/libs/light/libxl_device.c
 @@ -1277,7 +1277,7 @@ static void device_hotplug(libxl__egc *e
      }
  
@@ -126,10 +126,10 @@
      rc = libxl__async_exec_start(aes);
      if (rc)
          goto out;
-Index: xen-4.17.0-testing/tools/libs/light/libxl_event.c
+Index: xen-4.17.2-testing/tools/libs/light/libxl_event.c
 ===================================================================
---- xen-4.17.0-testing.orig/tools/libs/light/libxl_event.c
-+++ xen-4.17.0-testing/tools/libs/light/libxl_event.c
+--- xen-4.17.2-testing.orig/tools/libs/light/libxl_event.c
++++ xen-4.17.2-testing/tools/libs/light/libxl_event.c
 @@ -1032,27 +1032,29 @@ static void devstate_callback(libxl__egc
  {
      EGC_GC;
@@ -176,10 +176,10 @@
      rc = libxl__xswait_start(gc, &ds->w);
      if (rc) goto out;
  
-Index: xen-4.17.0-testing/tools/libs/light/libxl_internal.c
+Index: xen-4.17.2-testing/tools/libs/light/libxl_internal.c
 ===================================================================
---- xen-4.17.0-testing.orig/tools/libs/light/libxl_internal.c
-+++ xen-4.17.0-testing/tools/libs/light/libxl_internal.c
+--- xen-4.17.2-testing.orig/tools/libs/light/libxl_internal.c
++++ xen-4.17.2-testing/tools/libs/light/libxl_internal.c
 @@ -18,6 +18,97 @@
  #include "libxl_internal.h"
  #include "libxl_arch.h"
@@ -278,10 +278,10 @@
  void libxl__alloc_failed(libxl_ctx *ctx, const char *func,
                           size_t nmemb, size_t size) {
  #define M "libxl: FATAL ERROR: memory allocation failure"
-Index: xen-4.17.0-testing/tools/libs/light/libxl_internal.h
+Index: xen-4.17.2-testing/tools/libs/light/libxl_internal.h
 ===================================================================
---- xen-4.17.0-testing.orig/tools/libs/light/libxl_internal.h
-+++ xen-4.17.0-testing/tools/libs/light/libxl_internal.h
+--- xen-4.17.2-testing.orig/tools/libs/light/libxl_internal.h
++++ xen-4.17.2-testing/tools/libs/light/libxl_internal.h
 @@ -50,6 +50,7 @@
  #include <sys/un.h>
  #include <sys/file.h>
@@ -306,7 +306,7 @@
      /* private */
      libxl__ev_time time;
      libxl__ev_child child;
-@@ -4881,6 +4884,9 @@ _hidden int libxl__domain_set_paging_mem
+@@ -4886,6 +4889,9 @@ struct libxl__cpu_policy {
  
  #endif
  

++++++ libxl.pvscsi.patch ++++++
--- /var/tmp/diff_new_pack.HwViuV/_old  2023-08-11 15:55:27.303734754 +0200
+++ /var/tmp/diff_new_pack.HwViuV/_new  2023-08-11 15:55:27.303734754 +0200
@@ -34,10 +34,10 @@
  tools/libxl/xl_cmdtable.c            |   15 
  16 files changed, 2326 insertions(+), 4 deletions(-)
 
-Index: xen-4.17.0-testing/docs/man/xl.cfg.5.pod.in
+Index: xen-4.17.2-testing/docs/man/xl.cfg.5.pod.in
 ===================================================================
---- xen-4.17.0-testing.orig/docs/man/xl.cfg.5.pod.in
-+++ xen-4.17.0-testing/docs/man/xl.cfg.5.pod.in
+--- xen-4.17.2-testing.orig/docs/man/xl.cfg.5.pod.in
++++ xen-4.17.2-testing/docs/man/xl.cfg.5.pod.in
 @@ -800,6 +800,62 @@ frontend to backend. It can be used as a
  For more information about the protocol, see
  https://xenbits.xenproject.org/docs/unstable/misc/pvcalls.html.
@@ -101,10 +101,10 @@
  =item B<vfb=[ "VFB_SPEC_STRING", "VFB_SPEC_STRING", ...]>
  
  Specifies the paravirtual framebuffer devices which should be supplied
-Index: xen-4.17.0-testing/docs/man/xl.1.pod.in
+Index: xen-4.17.2-testing/docs/man/xl.1.pod.in
 ===================================================================
---- xen-4.17.0-testing.orig/docs/man/xl.1.pod.in
-+++ xen-4.17.0-testing/docs/man/xl.1.pod.in
+--- xen-4.17.2-testing.orig/docs/man/xl.1.pod.in
++++ xen-4.17.2-testing/docs/man/xl.1.pod.in
 @@ -1609,6 +1609,24 @@ List virtual network interfaces for a do
  
  =back
@@ -130,10 +130,10 @@
  =head1 PCI PASS-THROUGH
  
  =over 4
-Index: xen-4.17.0-testing/tools/libs/light/Makefile
+Index: xen-4.17.2-testing/tools/libs/light/Makefile
 ===================================================================
---- xen-4.17.0-testing.orig/tools/libs/light/Makefile
-+++ xen-4.17.0-testing/tools/libs/light/Makefile
+--- xen-4.17.2-testing.orig/tools/libs/light/Makefile
++++ xen-4.17.2-testing/tools/libs/light/Makefile
 @@ -71,6 +71,7 @@ OBJS-y += libxl.o
  OBJS-y += libxl_create.o
  OBJS-y += libxl_dm.o
@@ -142,10 +142,10 @@
  OBJS-y += libxl_dom.o
  OBJS-y += libxl_exec.o
  OBJS-y += libxl_xshelp.o
-Index: xen-4.17.0-testing/tools/libs/util/Makefile
+Index: xen-4.17.2-testing/tools/libs/util/Makefile
 ===================================================================
---- xen-4.17.0-testing.orig/tools/libs/util/Makefile
-+++ xen-4.17.0-testing/tools/libs/util/Makefile
+--- xen-4.17.2-testing.orig/tools/libs/util/Makefile
++++ xen-4.17.2-testing/tools/libs/util/Makefile
 @@ -8,6 +8,7 @@ OBJS-y += libxlu_disk_l.o
  OBJS-y += libxlu_disk.o
  OBJS-y += libxlu_vif.o
@@ -154,10 +154,10 @@
  
  CFLAGS += -Wno-format-zero-length -Wmissing-declarations \
        -Wno-declaration-after-statement -Wformat-nonliteral
-Index: xen-4.17.0-testing/tools/include/libxl.h
+Index: xen-4.17.2-testing/tools/include/libxl.h
 ===================================================================
---- xen-4.17.0-testing.orig/tools/include/libxl.h
-+++ xen-4.17.0-testing/tools/include/libxl.h
+--- xen-4.17.2-testing.orig/tools/include/libxl.h
++++ xen-4.17.2-testing/tools/include/libxl.h
 @@ -1258,6 +1258,13 @@ void libxl_mac_copy(libxl_ctx *ctx, libx
  #define LIBXL_HAVE_PCITOPOLOGY 1
  
@@ -172,7 +172,7 @@
   * LIBXL_HAVE_SOCKET_BITMAP
   *
   * If this is defined, then libxl_socket_bitmap_alloc and
-@@ -2323,6 +2330,41 @@ int libxl_device_channel_getinfo(libxl_c
+@@ -2319,6 +2326,41 @@ int libxl_device_channel_getinfo(libxl_c
                                   const libxl_device_channel *channel,
                                   libxl_channelinfo *channelinfo);
  
@@ -214,10 +214,10 @@
  /* Virtual TPMs */
  int libxl_device_vtpm_add(libxl_ctx *ctx, uint32_t domid, libxl_device_vtpm 
*vtpm,
                            const libxl_asyncop_how *ao_how)
-Index: xen-4.17.0-testing/tools/libs/light/libxl_create.c
+Index: xen-4.17.2-testing/tools/libs/light/libxl_create.c
 ===================================================================
---- xen-4.17.0-testing.orig/tools/libs/light/libxl_create.c
-+++ xen-4.17.0-testing/tools/libs/light/libxl_create.c
+--- xen-4.17.2-testing.orig/tools/libs/light/libxl_create.c
++++ xen-4.17.2-testing/tools/libs/light/libxl_create.c
 @@ -1873,6 +1873,7 @@ const libxl__device_type *device_type_tb
      &libxl__disk_devtype,
      &libxl__nic_devtype,
@@ -226,10 +226,10 @@
      &libxl__usbctrl_devtype,
      &libxl__usbdev_devtype,
      &libxl__pci_devtype,
-Index: xen-4.17.0-testing/tools/libs/light/libxl_internal.h
+Index: xen-4.17.2-testing/tools/libs/light/libxl_internal.h
 ===================================================================
---- xen-4.17.0-testing.orig/tools/libs/light/libxl_internal.h
-+++ xen-4.17.0-testing/tools/libs/light/libxl_internal.h
+--- xen-4.17.2-testing.orig/tools/libs/light/libxl_internal.h
++++ xen-4.17.2-testing/tools/libs/light/libxl_internal.h
 @@ -4013,6 +4013,7 @@ extern const libxl__device_type libxl__v
  extern const libxl__device_type libxl__disk_devtype;
  extern const libxl__device_type libxl__nic_devtype;
@@ -238,10 +238,10 @@
  extern const libxl__device_type libxl__usbctrl_devtype;
  extern const libxl__device_type libxl__usbdev_devtype;
  extern const libxl__device_type libxl__pci_devtype;
-Index: xen-4.17.0-testing/tools/libs/light/libxl_types.idl
+Index: xen-4.17.2-testing/tools/libs/light/libxl_types.idl
 ===================================================================
---- xen-4.17.0-testing.orig/tools/libs/light/libxl_types.idl
-+++ xen-4.17.0-testing/tools/libs/light/libxl_types.idl
+--- xen-4.17.2-testing.orig/tools/libs/light/libxl_types.idl
++++ xen-4.17.2-testing/tools/libs/light/libxl_types.idl
 @@ -970,6 +970,43 @@ libxl_device_vsnd = Struct("device_vsnd"
      ("pcms", Array(libxl_vsnd_pcm, "num_vsnd_pcms"))
      ])
@@ -316,10 +316,10 @@
  libxl_vtpminfo = Struct("vtpminfo", [
      ("backend", string),
      ("backend_id", uint32),
-Index: xen-4.17.0-testing/tools/libs/light/libxl_types_internal.idl
+Index: xen-4.17.2-testing/tools/libs/light/libxl_types_internal.idl
 ===================================================================
---- xen-4.17.0-testing.orig/tools/libs/light/libxl_types_internal.idl
-+++ xen-4.17.0-testing/tools/libs/light/libxl_types_internal.idl
+--- xen-4.17.2-testing.orig/tools/libs/light/libxl_types_internal.idl
++++ xen-4.17.2-testing/tools/libs/light/libxl_types_internal.idl
 @@ -33,6 +33,7 @@ libxl__device_kind = Enumeration("device
      (15, "VSND"),
      (16, "VINPUT"),
@@ -328,10 +328,10 @@
      ])
  
  libxl__console_backend = Enumeration("console_backend", [
-Index: xen-4.17.0-testing/tools/libs/light/libxl_vscsi.c
+Index: xen-4.17.2-testing/tools/libs/light/libxl_vscsi.c
 ===================================================================
 --- /dev/null
-+++ xen-4.17.0-testing/tools/libs/light/libxl_vscsi.c
++++ xen-4.17.2-testing/tools/libs/light/libxl_vscsi.c
 @@ -0,0 +1,1185 @@
 +/*
 + * Copyright (C) 2016      SUSE Linux GmbH
@@ -1518,10 +1518,10 @@
 + * indent-tabs-mode: nil
 + * End:
 + */
-Index: xen-4.17.0-testing/tools/libs/util/libxlu_vscsi.c
+Index: xen-4.17.2-testing/tools/libs/util/libxlu_vscsi.c
 ===================================================================
 --- /dev/null
-+++ xen-4.17.0-testing/tools/libs/util/libxlu_vscsi.c
++++ xen-4.17.2-testing/tools/libs/util/libxlu_vscsi.c
 @@ -0,0 +1,669 @@
 +/*
 + * libxlu_vscsi.c - xl configuration file parsing: setup and helper functions
@@ -2192,10 +2192,10 @@
 +    return ERROR_INVAL;
 +}
 +#endif
-Index: xen-4.17.0-testing/tools/include/libxlutil.h
+Index: xen-4.17.2-testing/tools/include/libxlutil.h
 ===================================================================
---- xen-4.17.0-testing.orig/tools/include/libxlutil.h
-+++ xen-4.17.0-testing/tools/include/libxlutil.h
+--- xen-4.17.2-testing.orig/tools/include/libxlutil.h
++++ xen-4.17.2-testing/tools/include/libxlutil.h
 @@ -131,6 +131,25 @@ int xlu_rdm_parse(XLU_Config *cfg, libxl
  int xlu_vif_parse_rate(XLU_Config *cfg, const char *rate,
                         libxl_device_nic *nic);
@@ -2222,10 +2222,10 @@
  #endif /* LIBXLUTIL_H */
  
  /*
-Index: xen-4.17.0-testing/tools/xl/Makefile
+Index: xen-4.17.2-testing/tools/xl/Makefile
 ===================================================================
---- xen-4.17.0-testing.orig/tools/xl/Makefile
-+++ xen-4.17.0-testing/tools/xl/Makefile
+--- xen-4.17.2-testing.orig/tools/xl/Makefile
++++ xen-4.17.2-testing/tools/xl/Makefile
 @@ -19,7 +19,7 @@ CFLAGS_XL += -Wshadow
  XL_OBJS-$(CONFIG_X86) = xl_psr.o
  XL_OBJS = xl.o xl_cmdtable.o xl_sxp.o xl_utils.o $(XL_OBJS-y)
@@ -2235,10 +2235,10 @@
  XL_OBJS += xl_sched.o xl_pci.o xl_vcpu.o xl_cdrom.o xl_mem.o
  XL_OBJS += xl_info.o xl_console.o xl_misc.o
  XL_OBJS += xl_vmcontrol.o xl_saverestore.o xl_migrate.o
-Index: xen-4.17.0-testing/tools/xl/xl.h
+Index: xen-4.17.2-testing/tools/xl/xl.h
 ===================================================================
---- xen-4.17.0-testing.orig/tools/xl/xl.h
-+++ xen-4.17.0-testing/tools/xl/xl.h
+--- xen-4.17.2-testing.orig/tools/xl/xl.h
++++ xen-4.17.2-testing/tools/xl/xl.h
 @@ -164,6 +164,9 @@ int main_channellist(int argc, char **ar
  int main_blockattach(int argc, char **argv);
  int main_blocklist(int argc, char **argv);
@@ -2249,10 +2249,10 @@
  int main_vtpmattach(int argc, char **argv);
  int main_vtpmlist(int argc, char **argv);
  int main_vtpmdetach(int argc, char **argv);
-Index: xen-4.17.0-testing/tools/xl/xl_parse.c
+Index: xen-4.17.2-testing/tools/xl/xl_parse.c
 ===================================================================
---- xen-4.17.0-testing.orig/tools/xl/xl_parse.c
-+++ xen-4.17.0-testing/tools/xl/xl_parse.c
+--- xen-4.17.2-testing.orig/tools/xl/xl_parse.c
++++ xen-4.17.2-testing/tools/xl/xl_parse.c
 @@ -1218,7 +1218,8 @@ void parse_config_data(const char *confi
      long l, vcpus = 0;
      XLU_Config *config;
@@ -2281,10 +2281,10 @@
      if (!xlu_cfg_get_list(config, "vtpm", &vtpms, 0, 0)) {
          d_config->num_vtpms = 0;
          d_config->vtpms = NULL;
-Index: xen-4.17.0-testing/tools/xl/xl_vscsi.c
+Index: xen-4.17.2-testing/tools/xl/xl_vscsi.c
 ===================================================================
 --- /dev/null
-+++ xen-4.17.0-testing/tools/xl/xl_vscsi.c
++++ xen-4.17.2-testing/tools/xl/xl_vscsi.c
 @@ -0,0 +1,229 @@
 +/*
 + * Copyright 2009-2017 Citrix Ltd and other contributors
@@ -2515,10 +2515,10 @@
 +    return !!rc;
 +}
 +
-Index: xen-4.17.0-testing/tools/xl/xl_cmdtable.c
+Index: xen-4.17.2-testing/tools/xl/xl_cmdtable.c
 ===================================================================
---- xen-4.17.0-testing.orig/tools/xl/xl_cmdtable.c
-+++ xen-4.17.0-testing/tools/xl/xl_cmdtable.c
+--- xen-4.17.2-testing.orig/tools/xl/xl_cmdtable.c
++++ xen-4.17.2-testing/tools/xl/xl_cmdtable.c
 @@ -382,6 +382,21 @@ const struct cmd_spec cmd_table[] = {
        "[option] <Domain> <DevId>",
        "-f, --force        do not wait for the domain to release the device"

++++++ xen-4.17.1-testing-src.tar.bz2 -> xen-4.17.2-testing-src.tar.bz2 ++++++
++++ 8965 lines of diff (skipped)

Reply via email to