diff options
author | Ian Campbell <ian.campbell@xensource.com> | 2006-10-26 16:56:16 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@xensource.com> | 2006-10-26 16:56:16 +0100 |
commit | 1459957f98d243d64d6f1f76d2a91cd26a9d7202 (patch) | |
tree | 65ca2820cababd0c64b12e2b90b09132c2be4ecf /tools/libxc/xg_private.h | |
parent | 53132173d5bfbe48b369968bd198cbc72b3fbd2b (diff) | |
download | xen-1459957f98d243d64d6f1f76d2a91cd26a9d7202.tar.gz xen-1459957f98d243d64d6f1f76d2a91cd26a9d7202.tar.bz2 xen-1459957f98d243d64d6f1f76d2a91cd26a9d7202.zip |
[TOOLS] Uncompress and allocate memory for gzipped kernel and initrd images on
the fly. We cannot rely on the length contained in the gzip trailer to determine
the length of the decompressed data because images have been observed which have
trailing junk.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
Diffstat (limited to 'tools/libxc/xg_private.h')
-rw-r--r-- | tools/libxc/xg_private.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/libxc/xg_private.h b/tools/libxc/xg_private.h index 63ad2bcfdc..64ac8fad48 100644 --- a/tools/libxc/xg_private.h +++ b/tools/libxc/xg_private.h @@ -193,8 +193,6 @@ typedef struct mfn_mapper { int xc_copy_to_domain_page(int xc_handle, uint32_t domid, unsigned long dst_pfn, const char *src_page); -unsigned long xc_get_filesz(int fd); - void xc_map_memcpy(unsigned long dst, const char *src, unsigned long size, int xch, uint32_t dom, xen_pfn_t *parray, unsigned long vstart); |