From: Anthony Liguori <anthony@codemonkey.ws>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 2/4] uImage: implement gzip support
Date: Tue, 18 Nov 2008 16:44:13 -0600 [thread overview]
Message-ID: <4923453D.5050307@codemonkey.ws> (raw)
In-Reply-To: <1227046673.3431.2.camel@localhost.localdomain>
Hollis Blanchard wrote:
>> Also note that there are multiple implementations of unzip in QEMU right
>> now so you could refactor one of those into common code.
>>
>
> Are there? grep didn't find them; can you point me at some?
>
$ grep inflateInit *.c
block-cloop.c: if(inflateInit(&s->zstream) != Z_OK)
block-dmg.c: if(inflateInit(&s->zstream) != Z_OK)
block-qcow2.c: ret = inflateInit2(strm, -12);
block-qcow.c: ret = inflateInit2(strm, -12);
vl.c: ret = inflateInit(&s->zstream);
The closest to what you're looking for is probably decompress_buffer()
in block-qcow2.c
Regards,
Anthony Liguori
next prev parent reply other threads:[~2008-11-18 22:44 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-17 21:18 [Qemu-devel] improvements in uImage loading Hollis Blanchard
2008-11-17 21:18 ` [Qemu-devel] [PATCH 1/4] uImage: free file data after copying into guest memory Hollis Blanchard
2008-11-17 21:18 ` [Qemu-devel] [PATCH 2/4] uImage: implement gzip support Hollis Blanchard
2008-11-17 21:30 ` François Revol
2008-11-17 21:38 ` Hollis Blanchard
2008-11-17 22:07 ` Jean-Christophe PLAGNIOL-VILLARD
2008-11-17 22:30 ` François Revol
2008-11-17 22:45 ` Jean-Christophe PLAGNIOL-VILLARD
2008-11-17 23:14 ` François Revol
2008-11-17 22:35 ` Hollis Blanchard
2008-11-17 22:39 ` Jean-Christophe PLAGNIOL-VILLARD
2008-11-18 16:20 ` Hollis Blanchard
2008-11-18 22:04 ` Anthony Liguori
2008-11-18 22:17 ` Hollis Blanchard
2008-11-18 22:44 ` Anthony Liguori [this message]
2008-11-17 21:18 ` [Qemu-devel] [PATCH 3/4] uImage: return base load address Hollis Blanchard
2008-11-17 21:18 ` [Qemu-devel] [PATCH 4/4] uImage: rename load_uboot() to load_uimage() Hollis Blanchard
2008-11-18 22:07 ` [Qemu-devel] [PATCH 1/4] uImage: free file data after copying into guest memory Anthony Liguori
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4923453D.5050307@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.