Displaying 3 results from an estimated 3 matches for "_xc_try_lzma_decode".
2013 Mar 15
0
[PATCH 4.1] Add DomU xz kernel decompression
....c
index 73cfad1..c5737db 100644
--- a/tools/libxc/xc_dom_bzimageloader.c
+++ b/tools/libxc/xc_dom_bzimageloader.c
@@ -187,11 +187,10 @@ static int xc_try_bzip2_decode(
#include <lzma.h>
-static int xc_try_lzma_decode(
- struct xc_dom_image *dom, void **blob, size_t *size)
+static int _xc_try_lzma_decode(
+ struct xc_dom_image *dom, void **blob, size_t *size,
+ lzma_stream *stream, lzma_ret ret, const char *what)
{
- lzma_stream stream = LZMA_STREAM_INIT;
- lzma_ret ret;
lzma_action action = LZMA_RUN;
unsigned char *out_buf;
unsigned char *tmp_buf;
@@ -201,14 +200,13 @@...
2014 Nov 21
4
Bug#767295: [PATCH for-4.5 v2] libxc: don't leak buffer containing the uncompressed PV kernel
...t; + free(out_buf);
>> + goto bzip2_cleanup;
>> + }
>> +
>> DOMPRINTF("%s: BZIP2 decompress OK, 0x%zx -> 0x%lx",
>> __FUNCTION__, *size, (long unsigned int) total);
>>
>> @@ -305,6 +312,13 @@ static int _xc_try_lzma_decode(
>> }
>> }
>>
>> + if ( xc_dom_register_external(dom, out_buf, stream->total_out) )
>> + {
>> + DOMPRINTF("%s: Error registering stream output", what);
>> + free(out_buf);
>> + goto lzma_clean...
2013 Oct 08
10
xl console regression on xen-unstable
I''m unable to start xl console on latest xen-unstable (build with commit
8e0da8c07f4f80e14314977a11f738bd74a5b62b).
> xl -vvv console sid
> xenconsole: Could not read tty from store: No such file or directory
I also tried "xl create -c", and it shows console from pygrub but when
the "xl create" reaches the end I got the same error:
> xenconsole: Could not