From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fnyif-0000m5-58 for qemu-devel@nongnu.org; Fri, 10 Aug 2018 00:08:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fnyib-0002VG-5h for qemu-devel@nongnu.org; Fri, 10 Aug 2018 00:08:09 -0400 From: Julio Faracco Date: Fri, 10 Aug 2018 01:07:39 -0300 Message-Id: <20180810040743.25424-1-jcfaracco@gmail.com> Subject: [Qemu-devel] [PATCH 0/4] Adding LZFSE compression support for DMG block driver. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: stefanha@redhat.com, kwolf@redhat.com, mreitz@redhat.com, qemu-block@nongnu.org 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 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 | 54 +++++++++++++++++++++++++++++++++++++ block/dmg.c | 65 ++++++++++++++++++++++++++++++++++++--------- block/dmg.h | 3 +++ configure | 32 ++++++++++++++++++++++ 5 files changed, 144 insertions(+), 12 deletions(-) create mode 100644 block/dmg-lzfse.c -- 2.17.1