Displaying 4 results from an estimated 4 matches for "lzma_block_size".
2013 Mar 15
0
[PATCH 4.1] Add DomU xz kernel decompression
...t)stream->total_out);
*blob = out_buf;
- *size = stream.total_out;
+ *size = stream->total_out;
lzma_cleanup:
- lzma_end(&stream);
+ lzma_end(stream);
return retval;
}
+/* 128 Mb is the minimum size (half-way) documented to work for all inputs. */
+#define LZMA_BLOCK_SIZE (128*1024*1024)
+
+static int xc_try_xz_decode(
+ struct xc_dom_image *dom, void **blob, size_t *size)
+{
+ lzma_stream stream = LZMA_STREAM_INIT;
+ lzma_ret ret = lzma_stream_decoder(&stream, LZMA_BLOCK_SIZE, 0);
+
+ return _xc_try_lzma_decode(dom, blob, size, &stream, ret, &qu...
2025 Feb 09
0
Bug#1095623: bookworm-pu: package xen/4.17.5+23-ga4e5191dc0-2
...le to use direct kernel boot (and also pygrub) for xen vms with
kernels 6.12 or newer.
[ Tests ]
I tested the fixed version on my test system and verified direct kernel boot
works with again with a kernel 6.12 or newer.
[ Risks ]
The fix is very trivial, actually it's only one line increasing
LZMA_BLOCK_SIZE. It's a cherry-pick from the upstream xen master branch. The
same patch is also included in xen in unstable and testing.
[ Checklist ]
[x] *all* changes are documented in the d/changelog
[x] I reviewed all changes and I approve them
[x] attach debdiff against the package in (old)stable...
2025 Feb 19
0
xen_4.17.5+23-ga4e5191dc0-2_source.changes REJECTED
xen - increase LZMA_BLOCK_SIZE
===
Please feel free to respond to this email if you don't understand why
your files were rejected, or if you upload new files which address our
concerns.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size...
2025 Feb 09
0
xen_4.17.5+23-ga4e5191dc0-2_source.changes ACCEPTED into proposed-updates->stable-new
...n-devel at lists.alioth.debian.org>
Changed-By: Maximilian Engelhardt <maxi at daemonizer.de>
Closes: 1092495
Changes:
xen (4.17.5+23-ga4e5191dc0-2) bookworm; urgency=medium
.
* Ignore lintian error not relevant for bookworm in salsa-ci.
* Cherry-pick e6472d4668 (tools/xg: increase LZMA_BLOCK_SIZE for
uncompressing the kernel) to allow direct kernel boot with kernels >=
6.12 (Closes: #1092495).
.
xen (4.17.5+23-ga4e5191dc0-1) bookworm-security; urgency=medium
.
* Update to new upstream version 4.17.5+23-ga4e5191dc0, which also contains
security fixes for the following...