Skip to content

tools: Use the system liblz4 package

Andrew Cooper xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tools/configure: Detect the presence of liblz4automation/build/debian/13-arm64v8.dockerfile automation/build/debian/13-x86_64.dockerfile tools/configure +1 more+85 -01 reply
2/2tools/libs/guest: Use the system liblz4 in the bzimage loadertools/libs/guest/Makefile.common tools/libs/guest/xg_dom_bzimageloader.c tools/libs/guest/xg_dom_decompress.h +3 more+169 -1512 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchRoger Pau MonnéOleksii Kurochko
SeriesRelease-Acked-by
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH for-4.22(?) 0/2] tools: Use the system liblz4 package

Switch to using the system liblz4.

This brings libxenguest's lz4 decompression in line all the others, rather than using the unsafe decompressor from Xen (itself a port of Linux's unsafe decompressor).

Andrew Cooper (2):
tools/configure: Detect the presence of liblz4 tools/libs/guest: Use the system liblz4 in the bzimage loader

 automation/build/debian/13-arm64v8.dockerfile |   1 +
 automation/build/debian/13-x86_64.dockerfile  |   1 +
 tools/configure                               |  79 ++++++++++
 tools/configure.ac                            |   4 +
 tools/libs/guest/Makefile.common              |   2 +-
 tools/libs/guest/xg_dom_bzimageloader.c       | 128 +++++++++++++++-
 tools/libs/guest/xg_dom_decompress.h          |   6 -
 tools/libs/guest/xg_dom_decompress_lz4.c      | 143 ------------------
 tools/libs/guest/xg_dom_decompress_unsafe.h   |   2 +
 .../libs/guest/xg_dom_decompress_unsafe_lz4.c |  39 +++++
 10 files changed, 254 insertions(+), 151 deletions(-)
 delete mode 100644 tools/libs/guest/xg_dom_decompress.h
 delete mode 100644 tools/libs/guest/xg_dom_decompress_lz4.c
 create mode 100644 tools/libs/guest/xg_dom_decompress_unsafe_lz4.c

base-commit: c069c014f21fd1f5925d8c30c18adb4f26381475

Signature · 1 line
2.39.5