aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/bunzip2.c
Commit message (Collapse)AuthorAgeFilesLines
* decompressors: fix string typo 'bufer'Paul Bolle2012-01-231-2/+2
| | | | | | Signed-off-by: Paul Bolle <pebolle@tiscali.nl> Signed-off-by: Jan Beulich <jbeulich@suse.com> Committed-by: Jan Beulich <jbeulich@suse.com>
* bzip2: Add missing checks for malloc returning NULLPhillip Lougher2011-11-111-1/+9
| | | | | | | | | From: Phillip Lougher <phillip@lougher.demon.co.uk> Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk> Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org> Committed-by: Jan Beulich <jbeulich@suse.com>
* Decompressors: get rid of set_error_fn() macroLasse Collin2011-11-111-2/+1
| | | | | | | | | | | | | | From: Lasse Collin <lasse.collin@tukaani.org> set_error_fn() is a useless complication. Only unlzma.c had some use for it and that was easy to change too. This also gets rid of the static function pointer "error". Signed-off-by: Lasse Collin <lasse.collin@tukaani.org> Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org> Committed-by: Jan Beulich <jbeulich@suse.com>
* x86/dom0: support bzip2 and lzma compressed bzImage payloadsKeir Fraser2009-11-091-0/+726
This matches functionality in the tools already supporting the same for DomU-s. Code taken from Linux 2.6.32-rc and adjusted as little as possible to be usable in Xen. The question is whether, particularly for non-Linux Dom0-s, plain ELF images compressed by bzip2 or lzma should also be supported. Signed-off-by: Jan Beulich <jbeulich@novell.com>