Add zstdio support for booting Trixie kernels in Xen
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 2 repliesIn review
- v14 patches 5 repliesSuperseded
Changes in v3 from the cover letter
* Fixed various code cleanups as suggested by Daniel
* Removed all tab characters to address formatting issues noticed by Avnish
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | io: Implement zstdio decompressionMakefile.util.def grub-core/ grub-core/ +1 more | +253 | 1 reply | |
| 2/4 | tests/file_filter: Regenerate gpg keystests/ tests/ tests/ +2 more | +0 | 0 replies | |
| 3/4 | tests/file_filter: Add zstd test filetests/ tests/ | +0 | 0 replies | |
| 4/4 | tests/file_filter: Add zstd teststests/ tests/ | +6 | 0 replies |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | Avnish Chouhan |
|---|---|
| 1/4 | R-b |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/4] Add zstdio support for booting Trixie kernels in Xen
Hi,
Here is v3 of this series. I've addressed all the noted code formatting issues.
But I've declined to make the change to the safe math primitives because I'm sure overflow is not possible and it divereges from the original xzio source this work is based on.
Logan
--
Changes in v3:
* Fixed various code cleanups as suggested by Daniel
* Removed all tab characters to address formatting issues noticed by Avnish
Changes in v2:
* Fixed Numerous code formatting issues as noticed by Avnish
--
Debian has started compressing the kernel images in the Trixie release. This breaks booting xen kernels seeing grub has no support to decompress the zstd images[1][2].
To improve this situation, this patch series adds zstdio support in a way that's very similar to xzio. The first patch adds this support. The remaining patchs expand the file_filter tests so this functionality is covered.
--
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1102066
[2] https://www.mail-archive.com/[email protected]/msg41663.html
Logan Gunthorpe (4):
io: Implement zstdio decompression
tests/file_filter: Regenerate gpg keys
tests/file_filter: Add zstd test file
tests/file_filter: Add zstd tests
Makefile.util.def | 1 + grub-core/Makefile.core.def | 7 + grub-core/io/zstdio.c | 243 ++++++++++++++++++++++++++++++++ include/grub/file.h | 3 +- tests/file_filter/file.gz.sig | Bin 96 -> 310 bytes tests/file_filter/file.lzop.sig | Bin 96 -> 310 bytes tests/file_filter/file.xz.sig | Bin 96 -> 310 bytes tests/file_filter/file.zstd | Bin 0 -> 26 bytes tests/file_filter/file.zstd.sig | Bin 0 -> 310 bytes tests/file_filter/keys | Bin 994 -> 1308 bytes tests/file_filter/keys.pub | Bin 990 -> 657 bytes tests/file_filter/test.cfg | 1 + tests/file_filter_test.in | 7 +- 13 files changed, 259 insertions(+), 3 deletions(-) create mode 100644 grub-core/io/zstdio.c create mode 100644 tests/file_filter/file.zstd create mode 100644 tests/file_filter/file.zstd.sig
base-commit: 6b5c671d35b1b84468da1fef2b9bd8e05682f7e6 --
2.47.3
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel