[Top][All Lists]

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

[Qemu-devel] Re: [PATCH] Add tar container format

From: Paolo Bonzini
Subject: [Qemu-devel] Re: [PATCH] Add tar container format
Date: Mon, 17 Aug 2009 14:05:26 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Lightning/1.0pre Thunderbird/3.0b3

Bzip2 is supposed to be chunkable, but I haven't found anyone who did
this yet and my knowledge in compression is pretty small.

Bzip2 proceeds in chunks of approximately 100-900 KB size. However, the size is taken after an initial RLE compression pass. So bzip2 is only chunkable if you remove the initial RLE compression---this means hacking the bzip2 executable (see ADD_CHAR_TO_BLOCK and add_pair_to_block) in bzip2's bzlib.c.

Using GIO may have been a good idea a few years ago, but it seems a bit overengineered given that the block layer of qemu works well and it is pretty complex.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]