Skip to content

Adding LZFSE compression support for DMG block driver.

Julio Faracco qemu-devel 3 versions – Applied

Status from this message: Thanks, applied to the block-next branch (for 3.2).

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 1 replyApplied
  2. v24 patches 1 replySuperseded
  3. v14 patches 5 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4block: adding lzfse decompressing support as a module.block/dmg-lzfse.c+49 -00 replies
2/4configure: adding support to lzfse library.block/Makefile.objs configure+33 -00 replies
3/4dmg: including dmg-lzfse module inside dmg block driver.block/dmg.c block/dmg.h+31 -00 replies
4/4dmg: exchanging hardcoded dmg UDIF block types to enum.block/dmg.c+28 -150 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [Qemu-devel] [PATCH v3 0/4] Adding LZFSE compression support for DMG block driver.

Since Mac OS X El Capitain (v10.11), Apple uses LZFSE compression to generate compressed DMGs as an alternative to BZIP2. Possible, Apple want to keep this algorithm as default in long term. Some years ago, Apple opened the LZFSE algorithm to opensource and the main source (or the most active repo), can be found at: https://github.com/lzfse/lzfse

v1-v2: Fixing some error handlings from dmg-lzfse.c
v2-v3: Master rebasing suggestion from Stefan.

Julio Faracco (4):
block: adding lzfse decompressing support as a module.
configure: adding support to lzfse library.
dmg: including dmg-lzfse module inside dmg block driver.
dmg: exchanging hardcoded dmg UDIF block types to enum.

 block/Makefile.objs |  2 ++
 block/dmg-lzfse.c   | 49 ++++++++++++++++++++++++++++++++++
 block/dmg.c         | 65 ++++++++++++++++++++++++++++++++++++---------
 block/dmg.h         |  3 +++
 configure           | 31 +++++++++++++++++++++
 5 files changed, 138 insertions(+), 12 deletions(-)
 create mode 100644 block/dmg-lzfse.c
Signature · 1 line
2.17.1