All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH for-4.22(?) 0/2] tools: Use the system liblz4 package
@ 2026-06-03  8:53 Andrew Cooper
  2026-06-03  8:53 ` [PATCH 1/2] tools/configure: Detect the presence of liblz4 Andrew Cooper
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Andrew Cooper @ 2026-06-03  8:53 UTC (permalink / raw)
  To: Xen-devel; +Cc: Andrew Cooper, Anthony PERARD, Juergen Gross, Oleksii Kurochko

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
-- 
2.39.5



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2026-06-08 11:30 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-03  8:53 [PATCH for-4.22(?) 0/2] tools: Use the system liblz4 package Andrew Cooper
2026-06-03  8:53 ` [PATCH 1/2] tools/configure: Detect the presence of liblz4 Andrew Cooper
2026-06-08 10:15   ` Roger Pau Monné
2026-06-03  8:53 ` [PATCH 2/2] tools/libs/guest: Use the system liblz4 in the bzimage loader Andrew Cooper
2026-06-08 10:46   ` Roger Pau Monné
2026-06-08 10:51     ` Andrew Cooper
2026-06-03  9:16 ` [PATCH for-4.22(?) 0/2] tools: Use the system liblz4 package Jan Beulich
2026-06-03  9:21   ` Andrew Cooper
2026-06-03  9:24     ` Jan Beulich
2026-06-03 13:01   ` Oleksii Kurochko
2026-06-08 10:51     ` Oleksii Kurochko
2026-06-08 10:57       ` Andrew Cooper
2026-06-08 11:30         ` Oleksii Kurochko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.