[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: zstd compressed kernels


  • To: Michael Young <m.a.young@xxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Date: Tue, 17 Nov 2020 20:48:25 +0000
  • Authentication-results: esa1.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Delivery-date: Tue, 17 Nov 2020 20:48:48 +0000
  • Ironport-sdr: OivuvwWRjbdmj6IcnS0Zia2vrKz2p6hlpLjuDOgawEqndHxB7eYdgzB6Huj+OdeeJvH93Be1yr nJMXmwW2lc0RBFTc2xraICWOFO4ebDdX1XiToPH7b0XXPtmieRnfEJMWg4m1ZucFXIzLGDVmK+ Ckof5lUZ5hDiXmxNVjf70cMqAZhFRCFcM1947hZhxfSx7rUYQHQQh8HBOxSM0vzwA90xz/QLbr hpAysAcw5g+gxYPBhOwP7tqxGZCAsmMZZIzpdw5f8OaiyjmPIGH/iBtO63uU8NFIMq1biA22GE s7w=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 17/11/2020 20:27, Michael Young wrote:
> Is anyone else looking at vmlinuz files which use zstd compression?
> Fedora has started doing so with its 5.9 kernels.

Well volunteered ;)

Yes - I'm aware that it is an area needing working on, but it is not
sufficiently urgent on my TODO stack to look at yet.

There are other compression schemes supported by Linux which aren't
supported by us, either.  I was planning to go through all of them and
check them all.


If you're willing to have a go:

For dom0 support, port Linux's decompressor into xen/common/ and plumb
it into xen/common/decompress.c

For domU's, tools/libs/guest/xg_dom_bzimageloader.c and
xc_dom_probe_bzimage_kernel()

(Wow this plumbing is ugly and in need of some rationalisation...)

~Andrew



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.