Skip to content
Snippets Groups Projects
  1. Mar 06, 2025
    • Maximilian Engelhardt's avatar
      Commit patch queue (exported by git-debrebase) · e47b9649
      Maximilian Engelhardt authored
      [git-debrebase make-patches: export and commit patches]
      e47b9649
    • Maximilian Engelhardt's avatar
      Declare fast forward / record previous work · 96314f3e
      Maximilian Engelhardt authored
      [git-debrebase pseudomerge: quick]
      96314f3e
    • Michael Tokarev's avatar
      give meaningful error message if qemu device model is unavailable · 9f4a23e3
      Michael Tokarev authored and Maximilian Engelhardt's avatar Maximilian Engelhardt committed
      There's no sense to switch to qemu-xen-traditional device model
      if that one is not enabled in the first place. This way we'll
      have a chance later to print a message suggesting to install the
      missing qemu package if we *actually* need qemu for the device model.
      
      Gbp-Pq: Name 0022-give-meaningful-error-message-if-qemu-device-model-i.patch
      9f4a23e3
    • Hans van Kranenburg's avatar
      tools: don't build/ship xenmon · c4e7723f
      Hans van Kranenburg authored and Maximilian Engelhardt's avatar Maximilian Engelhardt committed
      
      This is something that hasn't been touched (except for making it Python
      3 compatible, which failed) since 2007. Don't build or ship it.
      
          -# xenmon
            File "/usr/sbin/xenmon", line 680
      	stop_cmd = "/usr/bin/pkill -INT -z global xenbaked"
          TabError: inconsistent use of tabs and spaces in indentation
      
      Signed-off-by: default avatarHans van Kranenburg <hans@knorrie.org>
      
      Gbp-Pq: Name 0020-tools-don-t-build-ship-xenmon.patch
      c4e7723f
    • Hans van Kranenburg's avatar
      tools/xl/bash-completion: also complete 'xen' · 25085bf8
      Hans van Kranenburg authored and Maximilian Engelhardt's avatar Maximilian Engelhardt committed
      
      We have the `xen` alias for xl in Debian, since in the past it was a
      command that could execute either xl or xm.
      
      Now, it always does xl, so, complete the same stuff for it as we have
      for xl.
      
      Signed-off-by: default avatarHans van Kranenburg <hans@knorrie.org>
      
      [git-debrebase split: mixed commit: upstream part]
      
      Gbp-Pq: Name 0019-tools-xl-bash-completion-also-complete-xen.patch
      25085bf8
    • Ian Jackson's avatar
      pygrub: Specify -rpath LIBEXEC_LIB when building fsimage.so · e53939f2
      Ian Jackson authored and Maximilian Engelhardt's avatar Maximilian Engelhardt committed
      
      If LIBEXEC_LIB is not on the default linker search path, the python
      fsimage.so module fails to find libfsimage.so.
      
      Add the relevant directory to the rpath explicitly.
      
      (This situation occurs in the Debian package, where
      --with-libexec-libdir is used to put each Xen version's libraries and
      utilities in their own directory, to allow them to be coinstalled.)
      
      Signed-off-by: default avatarIan Jackson <ian.jackson@citrix.com>
      
      Gbp-Pq: Name 0018-pygrub-Specify-rpath-LIBEXEC_LIB-when-building-fsima.patch
      e53939f2
    • Bastian Blank's avatar
      pygrub: Set sys.path · 246ec128
      Bastian Blank authored and Maximilian Engelhardt's avatar Maximilian Engelhardt committed
      
      We install libfsimage in a non-standard path for Reasons.
      (See debian/rules.)
      
      This patch was originally part of `tools-pygrub-prefix.diff'
      (eg commit 51657319) and included changes to the Makefile to
      change the installation arrangements (we do that part in the rules now
      since that is a lot less prone to conflicts when we update) and to
      shared library rpath (which is now done in a separate patch).
      
      (Commit message rewritten by Ian Jackson.)
      
      Signed-off-by: default avatarIan Jackson <ian.jackson@citrix.com>
      
      squash! pygrub: Set sys.path and rpath
      
      Gbp-Pq: Name 0017-pygrub-Set-sys.path.patch
      246ec128
    • Ian Jackson's avatar
      hotplug-common: Do not adjust LD_LIBRARY_PATH · 05764496
      Ian Jackson authored and Maximilian Engelhardt's avatar Maximilian Engelhardt committed
      
      This is in the upstream script because on non-Debian systems, the
      default install locations in /usr/local/lib might not be on the linker
      path, and as a result the hotplug scripts would break.
      
      A reason we might need it in Debian is our multiple version
      coinstallation scheme.  However, the hotplug scripts all call the
      utilities via the wrappers, and the binaries are configured to load
      from the right place anyway.
      
      This setting is an annoyance because it requires libdir, which is an
      arch-specific path but comes from a file we want to put in
      xen-utils-common, an arch:all package.
      
      So drop this setting.
      
      Signed-off-by: default avatarIan Jackson <ian.jackson@citrix.com>
      
      Gbp-Pq: Name 0016-hotplug-common-Do-not-adjust-LD_LIBRARY_PATH.patch
      05764496
    • Hans van Kranenburg's avatar
      sysconfig.xencommons.in: Strip and debianize · 4c40a511
      Hans van Kranenburg authored and Maximilian Engelhardt's avatar Maximilian Engelhardt committed
      
      Strip all options that are for stuff we don't ship, which is 1)
      xenstored as stubdom and 2) the new options for oom score and open file
      descriptor limit, which would not have any effect, because we're
      shipping different init scripts... :|
      
      It seems useful to give the user the option to revert to xenstored
      instead of the default oxenstored if they really want.
      
      Signed-off-by: default avatarHans van Kranenburg <hans@knorrie.org>
      Acked-by: Ian Jackson's avatarIan Jackson <ijackson@chiark.greenend.org.uk>
      
      Gbp-Pq: Name 0015-sysconfig.xencommons.in-Strip-and-debianize.patch
      4c40a511
    • Hans van Kranenburg's avatar
      t/h/L/vif-common.sh: disable handle_iptable · e22d61ff
      Hans van Kranenburg authored and Maximilian Engelhardt's avatar Maximilian Engelhardt committed
      
      Also see Debian bug #894013. The current attempt at providing
      anti-spoofing rules results in a situation that does not have any
      effect. Also note that forwarding bridged traffic to iptables is not
      enabled by default, and that for openvswitch users it does not make any
      sense.
      
      So, stop cluttering the live iptables ruleset.
      
      This functionality seems to be introduced before 2004 and since then it
      has never got some additional love.
      
      It would be nice to have a proper discussion upstream about how Xen
      could provide some anti mac/ip spoofing in the dom0. It does not seem to
      be a trivial thing to do, since it requires having quite some knowledge
      about what the domU is allowed to do or not (e.g. a domU can be a
      router...).
      
      Signed-off-by: default avatarHans van Kranenburg <hans@knorrie.org>
      
      Gbp-Pq: Name 0014-t-h-L-vif-common.sh-disable-handle_iptable.patch
      e22d61ff
    • Ian Jackson's avatar
      shim: Provide separate install-shim target · 42966c22
      Ian Jackson authored and Maximilian Engelhardt's avatar Maximilian Engelhardt committed
      
      When building on a 32-bit userland, the user wants to build 32-bit
      tools and a 64-bit hypervisor.  This involves setting XEN_TARGET_ARCH
      to different values for the tools build and the hypervisor build.
      
      So the user must invoke the tools build and the hypervisor build
      separately.
      
      However, although the shim is done by the tools/firmware Makefile, its
      bitness needs to be the same as the hypervisor, not the same as the
      tools.  When run with XEN_TARGET_ARCH=x86_32, it it skipped, which is
      wrong.
      
      So the user must invoke the shim build separately.  This can be done
      with
         make -C tools/firmware/xen-dir XEN_TARGET_ARCH=x86_64
      
      However, tools/firmware/xen-dir has no `install' target.  The
      installation of all `firmware' is done in tools/firmware/Makefile.  It
      might be possible to fix this, but it is not trivial.  For example,
      the definitions of INST_DIR and DEBG_DIR would need to be copied, as
      would an appropriate $(INSTALL_DIR) call.
      
      For now, provide an `install-shim' target in tools/firmware/Makefile.
      
      This has to be called from `install' of course.  We can't make it
      a dependency of `install' because it might be run before `all' has
      completed.  We could make it depend on a `shim' target but such
      a target is nearly impossible to write because everything is done by
      the inflexible subdir-$@ machinery.
      
      The overally result of this patch is that existing make invocations
      work as before.  But additionally, the user can say
        make -C tools/firmware install-shim XEN_TARGET_ARCH=x86_64
      to install the shim.  The user must have built it already.
      Unlike the build rune, this install-rune is properly conditional
      so it is OK to call on ARM.
      
      What a mess.
      
      Signed-off-by: Ian Jackson's avatarIan Jackson <ijackson@chiark.greenend.org.uk>
      
      Gbp-Pq: Name 0012-shim-Provide-separate-install-shim-target.patch
      42966c22
    • Ian Jackson's avatar
      config/Tools.mk.in: Respect caller's CONFIG_PV_SHIM · 6ed4569e
      Ian Jackson authored and Maximilian Engelhardt's avatar Maximilian Engelhardt committed
      
      This makes it easier to disable the shim build.  (In Debian we need to
      build the shim separately because it needs different compiler flags).
      
      Signed-off-by: Ian Jackson's avatarIan Jackson <ijackson@chiark.greenend.org.uk>
      [ Hans: adjust from tools/firmware/Makefile to config/Tools.mk.in to
      follow changes that happened in 8845155c ("pvshim: make PV shim build
      selectable from configure") ]
      Signed-off-by: default avatarHans van Kranenburg <hans@knorrie.org>
      
      Gbp-Pq: Name 0011-config-Tools.mk.in-Respect-caller-s-CONFIG_PV_SHIM.patch
      6ed4569e
    • Ian Jackson's avatar
      .gitignore: Add configure output which we always delete and regenerate · 94c03a0c
      Ian Jackson authored and Maximilian Engelhardt's avatar Maximilian Engelhardt committed
      
      Signed-off-by: default avatarIan Jackson <ian.jackson@citrix.com>
      
      Gbp-Pq: Name 0010-.gitignore-Add-configure-output-which-we-always-dele.patch
      94c03a0c
    • Ian Jackson's avatar
      autoconf: Provide libexec_libdir_suffix · a2560164
      Ian Jackson authored and Maximilian Engelhardt's avatar Maximilian Engelhardt committed
      
      This is going to be used to put libfsimage.so into a path containing
      the multiarch triplet.
      
      Signed-off-by: default avatarIan Jackson <ian.jackson@citrix.com>
      
      Gbp-Pq: Name 0009-autoconf-Provide-libexec_libdir_suffix.patch
      a2560164
    • Hans van Kranenburg's avatar
      tools-libfsimage-prefix.diff · 67f3a6f7
      Hans van Kranenburg authored and Maximilian Engelhardt's avatar Maximilian Engelhardt committed
      \o/
      
      Gbp-Pq: Name 0008-tools-libfsimage-prefix.diff.patch
      67f3a6f7
    • Ian Jackson's avatar
      Do not build the instruction emulator · a584c815
      Ian Jackson authored and Maximilian Engelhardt's avatar Maximilian Engelhardt committed
      
      Signed-off-by: default avatarIan Jackson <ian.jackson@citrix.com>
      
      Gbp-Pq: Name 0007-Do-not-build-the-instruction-emulator.patch
      a584c815
    • Bastian Blank's avatar
      Remove static solaris support from pygrub · 126d51c4
      Bastian Blank authored and Maximilian Engelhardt's avatar Maximilian Engelhardt committed
      Patch-Name: tools-pygrub-remove-static-solaris-support
      
      Gbp-Pq: Topic misc
      Gbp-Pq: Name tools-pygrub-remove-static-solaris-support
      126d51c4
    • Bastian Blank's avatar
      Do not ship COPYING into /usr/include · d60392c4
      Bastian Blank authored and Maximilian Engelhardt's avatar Maximilian Engelhardt committed
      
      This is not wanted in Debian.  COPYING ends up in
      /usr/share/doc/xen-*copyright.
      
      Patch-Name: tools-include-no-COPYING.diff
      
      Signed-off-by: default avatarIan Jackson <ian.jackson@citrix.com>
      
      Gbp-Pq: Name 0005-Do-not-ship-COPYING-into-usr-include.patch
      d60392c4
    • Bastian Blank's avatar
      config-prefix.diff · f086eda2
      Bastian Blank authored and Maximilian Engelhardt's avatar Maximilian Engelhardt committed
      Patch-Name: config-prefix.diff
      
      Gbp-Pq: Topic prefix-abiname
      Gbp-Pq: Name config-prefix.diff
      f086eda2
    • Bastian Blank's avatar
      Display Debian package version in hypervisor log · 625f5fd3
      Bastian Blank authored and Maximilian Engelhardt's avatar Maximilian Engelhardt committed
      During hypervisor boot, disable the banner and nicely display the xen
      version as well as the Maintainer address from debian/control.
      
      For this to work the DEB_VERSION and DEB_MAINTAINER variables needs to
      be set by debian/rules.
      
      Original patch by Bastian Blank <waldi@debian.org>
      Modified by
      Hans van Kranenburg <hans@knorrie.org>
      Maximilian Engelhardt <maxi@daemonizer.de>
      
      Gbp-Pq: Name 0003-Display-Debian-package-version-in-hypervisor-log.patch
      625f5fd3
    • Ian Jackson's avatar
      Delete configure output · b5e9cabd
      Ian Jackson authored and Maximilian Engelhardt's avatar Maximilian Engelhardt committed
      
      These autogenerated files are not useful in Debian; dh_autoreconf will
      regenerate them.
      
      If this patch does not apply when rebasing, you can simply delete the
      files again.
      
      Signed-off-by: default avatarIan Jackson <ian.jackson@citrix.com>
      
      Gbp-Pq: Name 0002-Delete-configure-output.patch
      b5e9cabd
    • Ian Jackson's avatar
      Delete config.sub and config.guess · 98370a8a
      Ian Jackson authored and Maximilian Engelhardt's avatar Maximilian Engelhardt committed
      
      dh_autoreconf will provide these back.
      
      If this patch does not apply when rebasing, you can simply delete the
      files again.
      
      Signed-off-by: default avatarIan Jackson <ian.jackson@citrix.com>
      
      Gbp-Pq: Name 0001-Delete-config.sub-and-config.guess.patch
      98370a8a
    • Maximilian Engelhardt's avatar
      debian/changelog: finish 4.20.0-1 · 54cfaeea
      Maximilian Engelhardt authored
      54cfaeea
    • Maximilian Engelhardt's avatar
      d/rules: disable dh_dwz · 966da2a1
      Maximilian Engelhardt authored
      
      On xen_4.20.0-1~exp1 it breaks the build with:
      
         dh_dwz -a
      dwz: debian/xen-utils-4.20-dbg/usr/lib/debug/usr/lib/xen-4.20/boot/xen-shim-syms: .debug_info section not present
      dwz: debian/xen-utils-common/usr/bin/xenalyze: DWARF compression not beneficial - old size 179662 new size 180735
      dwz: Multi-file optimization not allowed for different pointer sizes
      dwz: debian/xen-utils-4.20/usr/lib/xen-4.20/boot/xen-shim: .debug_info section not present
      dh_dwz: warning: No dwz multifile created, but not explicitly requested either so ignoring it.
      dh_dwz: warning: Common issues include no debug information at all (missing -g) and
      dh_dwz: warning: compressed debug information (#931891).
      dwz: debian/libxenmisc4.20/usr/lib/x86_64-linux-gnu/libxenguest.so.4.20.0: DWARF compression not beneficial - old size 316023 new size 316135
      dwz: debian/libxenmisc4.20/usr/lib/x86_64-linux-gnu/libxenlight.so.4.20.0: DWARF compression not beneficial - old size 1289934 new size 1306512
      dwz: debian/xen-hypervisor-4.20-amd64-dbg/usr/lib/debug/boot/xen-4.20-amd64.efi.elf: DWARF version 0 in .debug_aranges unhandled
      dwz: Too few files for multifile optimization
      dh_dwz: error: dwz -mdebian/xen-hypervisor-4.20-amd64-dbg/usr/lib/debug/.dwz/x86_64-linux-gnu/xen-hypervisor-4.20-amd64-dbg.debug -M/usr/lib/debug/.dwz/x86_64-linux-gnu/xen-hypervisor-4.20-amd64-dbg.debug -- debian/xen-hypervisor-4.20-amd64-dbg/usr/lib/debug/boot/xen-4.20-amd64.efi.elf debian/xen-hypervisor-4.20-amd64-dbg/usr/lib/debug/boot/xen-syms-4.20-amd64 returned exit code 1
      dh_dwz: error: Aborting due to earlier error
      make: *** [debian/rules:174: binary] Error 25
      
      Signed-off-by: default avatarMaximilian Engelhardt <maxi@daemonizer.de>
      966da2a1
  2. Mar 04, 2025
  3. Feb 27, 2025
  4. Feb 26, 2025
  5. Feb 21, 2025
  6. Feb 20, 2025
  7. Feb 19, 2025
Loading