search for: xc_dom_pan

Displaying 10 results from an estimated 10 matches for "xc_dom_pan".

Did you mean: xc_dom_panic
2007 Jun 15
1
[PATCH RFC] add domain builder support for bzImage kernels
...eturn (params->hdr.setup_sects + 1) * 512; +} + +static int check_bzimage_kernel(struct xc_dom_image *dom, int verbose) +{ + struct boot_params *params; + const char *elf; + + if ( dom->kernel_blob == NULL || dom->kernel_size < 512*8) + { + if ( verbose ) + xc_dom_panic(XC_INTERNAL_ERROR, "%s: no kernel image loaded\n", + __FUNCTION__); + return -EINVAL; + } + + params = dom->kernel_blob; + + if ( memcmp(&params->hdr.header, HDR_MAGIC, HDR_MAGIC_SZ) != 0 ) + { + if ( verbose ) + xc_...
2007 Jun 15
1
[PATCH RFC] add domain builder support for bzImage kernels
...eturn (params->hdr.setup_sects + 1) * 512; +} + +static int check_bzimage_kernel(struct xc_dom_image *dom, int verbose) +{ + struct boot_params *params; + const char *elf; + + if ( dom->kernel_blob == NULL || dom->kernel_size < 512*8) + { + if ( verbose ) + xc_dom_panic(XC_INTERNAL_ERROR, "%s: no kernel image loaded\n", + __FUNCTION__); + return -EINVAL; + } + + params = dom->kernel_blob; + + if ( memcmp(&params->hdr.header, HDR_MAGIC, HDR_MAGIC_SZ) != 0 ) + { + if ( verbose ) + xc_...
2007 Jun 15
1
[PATCH RFC] add domain builder support for bzImage kernels
...eturn (params->hdr.setup_sects + 1) * 512; +} + +static int check_bzimage_kernel(struct xc_dom_image *dom, int verbose) +{ + struct boot_params *params; + const char *elf; + + if ( dom->kernel_blob == NULL || dom->kernel_size < 512*8) + { + if ( verbose ) + xc_dom_panic(XC_INTERNAL_ERROR, "%s: no kernel image loaded\n", + __FUNCTION__); + return -EINVAL; + } + + params = dom->kernel_blob; + + if ( memcmp(&params->hdr.header, HDR_MAGIC, HDR_MAGIC_SZ) != 0 ) + { + if ( verbose ) + xc_...
2013 Sep 23
28
[PATCH 0/2] add LZ4 kernel decompression support
Linux 3.11 added respective support, so I think we should follow suit. 1: xen: add LZ4 decompression support 2: libxc: add LZ4 decompression support Signed-off-by: Jan Beulich <jbeulich@suse.com>
2013 Mar 15
0
[PATCH 4.1] Add DomU xz kernel decompression
...robe_bzimage_kernel(struct xc_dom_image *dom) return -EINVAL; } } + else if ( check_magic(dom, "\3757zXZ", 6) ) + { + ret = xc_try_xz_decode(dom, &dom->kernel_blob, &dom->kernel_size); + if ( ret < 0 ) + { + xc_dom_panic(dom->xch, XC_INVALID_KERNEL, + "%s unable to XZ decompress kernel", + __FUNCTION__); + return -EINVAL; + } + } else if ( check_magic(dom, "\135\000", 2) ) { ret = xc_try_lzma_decode(dom,...
2014 Nov 21
4
Bug#767295: [PATCH for-4.5 v2] libxc: don't leak buffer containing the uncompressed PV kernel
...PROT_READ, >> + block->len = *size; >> + block->ptr = mmap(NULL, block->len, PROT_READ, >> MAP_SHARED, fd, 0); >> - if ( block->mmap_ptr == MAP_FAILED ) { >> + if ( block->ptr == MAP_FAILED ) { >> xc_dom_panic(dom->xch, XC_INTERNAL_ERROR, >> "failed to mmap file: %s", >> strerror(errno)); >> goto err; >> } >> >> + block->type = XC_DOM_MEM_TYPE_MMAP; >> block->next = dom...
2013 Sep 23
57
[PATCH RFC v13 00/20] Introduce PVH domU support
This patch series is a reworking of a series developed by Mukesh Rathor at Oracle. The entirety of the design and development was done by him; I have only reworked, reorganized, and simplified things in a way that I think makes more sense. The vast majority of the credit for this effort therefore goes to him. This version is labelled v13 because it is based on his most recent series, v11.
2012 Jan 25
26
[PATCH v4 00/23] Xenstore stub domain
Changes from v3: - mini-os configuration files moved into stubdom/ - mini-os extra console support now a config option - Fewer #ifdefs - grant table setup uses hypercall bounce - Xenstore stub domain syslog support re-enabled Changes from v2: - configuration support added to mini-os build system - add mini-os support for conditionally compiling frontends, xenbus -
2013 Nov 01
17
[PATCH v2 00/14] xen: arm: 64-bit guest support and domU FDT autogeneration
I''ve addressed all (I think/hope) of the review comments. The main change is to expose the guest virtual platform (e.g. memory layout and interrupt usage etc) to the toolstack via the public interface. This is then used during FDT generation. I have just codified the current defacto standard layout, it''s probably not the best layout but any change can be a separate patch/series.
2013 Nov 19
23
[PATCH v6 00/16] xen: arm: 64-bit guest support and domU FDT autogeneration
Biggest change is to switch the new DTB node to /xen-core-devices instead of /xen at Stefano''s request. I also dropped the few patches title HACK etc which weren''t supposed to be there and fixed up some bits and pieces which folks commented on. George, WRT the freeze I think this is functionality which we cannot ship Xen 4.4 without. The impact is entirely constrained to the