Home
last modified time | relevance | path

Searched refs:image (Results 1 – 25 of 80) sorted by relevance

1234

/xen/xen/common/
A Dkimage.c94 image = xzalloc(typeof(*image)); in do_kimage_alloc()
95 if ( !image ) in do_kimage_alloc()
99 image->type = type; in do_kimage_alloc()
165 if ( image->segments[i].buf_size > image->segments[i].dest_size ) in do_kimage_alloc()
185 image->entry_page = kimage_alloc_control_page(image, 0); in do_kimage_alloc()
188 result = machine_kexec_add_page(image, page_to_maddr(image->entry_page), in do_kimage_alloc()
193 image->head = page_to_maddr(image->entry_page); in do_kimage_alloc()
199 else if ( image ) in do_kimage_alloc()
538 if ( !image ) in kimage_free()
545 xfree(image); in kimage_free()
[all …]
A Dkexec.c400 struct kexec_image *image = _image; in kexec_reboot() local
405 machine_reboot_kexec(image); in kexec_reboot()
811 static void kexec_unload_image(struct kexec_image *image) in kexec_unload_image() argument
813 if ( !image ) in kexec_unload_image()
816 machine_kexec_unload(image); in kexec_unload_image()
817 kimage_free(image); in kexec_unload_image()
823 struct kexec_image *image; in kexec_exec() local
841 image = kexec_image[base + pos]; in kexec_exec()
842 ret = continue_hypercall_on_cpu(0, kexec_reboot, image); in kexec_exec()
997 mfn_t ind_mfn = maddr_to_mfn(load->image.indirection_page); in kexec_do_load_v1()
[all …]
/xen/xen/arch/x86/
A Dmachine_kexec.c43 l4_page = image->aux_page; in machine_kexec_add_page()
46 l4_page = kimage_alloc_control_page(image, 0); in machine_kexec_add_page()
49 image->aux_page = l4_page; in machine_kexec_add_page()
56 l3_page = kimage_alloc_control_page(image, 0); in machine_kexec_add_page()
105 int machine_kexec_load(struct kexec_image *image) in machine_kexec_load() argument
110 switch ( image->arch ) in machine_kexec_load()
145 machine_kexec(image); in machine_reboot_kexec()
149 void machine_kexec(struct kexec_image *image) in machine_kexec() argument
190 if ( image->arch == EM_386 ) in machine_kexec()
194 page_to_maddr(image->aux_page), in machine_kexec()
[all …]
A Dbzimage.c12 static __init unsigned long output_length(void *image, unsigned long image_len) in output_length() argument
14 return *(uint32_t *)(image + image_len - 4); in output_length()
/xen/tools/libs/guest/
A Dxg_private.c31 char *image = NULL, *tmp; in xc_read_image() local
57 free(image); in xc_read_image()
58 image = NULL; in xc_read_image()
61 image = tmp; in xc_read_image()
68 free(image); in xc_read_image()
69 image = NULL; in xc_read_image()
75 free(image); in xc_read_image()
76 image = NULL; in xc_read_image()
87 if ( image ) in xc_read_image()
92 image = tmp; in xc_read_image()
[all …]
A Dxg_dom_binloader.c153 char *image = dom->kernel_blob; in xc_dom_parse_bin_kernel() local
184 ((char *) image_info - image) < in xc_dom_parse_bin_kernel()
192 start_addr = image_info->header_addr - ((char *)image_info - image); in xc_dom_parse_bin_kernel()
250 char *image = dom->kernel_blob; in xc_dom_load_bin_kernel() local
263 start_addr = image_info->header_addr - ((char *)image_info - image); in xc_dom_load_bin_kernel()
300 memcpy(dest, image + skip, text_size); in xc_dom_load_bin_kernel()
/xen/tools/xl/
A Dcheck-xl-disk-parse78 one 0 /root/image.iso,,hdc,cdrom
79 one 0 /root/image.iso,,hdc,,cdrom
80 one 0 /root/image.iso,raw,hdc,devtype=cdrom
82 one 0 format=raw vdev=hdc access=ro devtype=cdrom target=/root/image.iso
83 one 0 raw:/root/image.iso,hdc:cdrom,ro
165 one 0 discard vdev=hda target=/some/disk/image.raw
166 one 0 discard vdev=hda target=/some/disk/image.raw
179 one 0 cdrom no-discard vdev=hda target=/some/disk/image.iso
192 one 0 trusted vdev=hda target=/some/disk/image.raw
205 one 0 untrusted vdev=hda target=/some/disk/image.raw
/xen/xen/include/xen/
A Dkexec.h46 int machine_kexec_add_page(struct kexec_image *image, unsigned long vaddr,
48 int machine_kexec_load(struct kexec_image *image);
49 void machine_kexec_unload(struct kexec_image *image);
51 void machine_reboot_kexec(struct kexec_image *image);
52 void machine_kexec(struct kexec_image *image);
A Dkimage.h45 void kimage_free(struct kexec_image *image);
46 int kimage_load_segments(struct kexec_image *image);
47 struct page_info *kimage_alloc_control_page(struct kexec_image *image,
53 int kimage_build_ind(struct kexec_image *image, mfn_t ind_mfn,
A Dgunzip.h4 int gzip_check(char *image, unsigned long image_len);
5 int perform_gunzip(char *output, char *image, unsigned long image_len);
/xen/xen/common/gzip/
A Dgunzip.c96 __init int gzip_check(char *image, unsigned long image_len) in gzip_check() argument
103 magic0 = (unsigned char)image[0]; in gzip_check()
104 magic1 = (unsigned char)image[1]; in gzip_check()
109 __init int perform_gunzip(char *output, char *image, unsigned long image_len) in perform_gunzip() argument
114 if ( !gzip_check(image, image_len) ) in perform_gunzip()
122 s->inbuf = (unsigned char *)image; in perform_gunzip()
/xen/tools/xcutils/
A Dreadnotes.c180 void *image,*tmp; in main() local
211 image = mmap(0, st.st_size, PROT_READ, MAP_SHARED, fd, 0); in main()
212 if (image == MAP_FAILED) in main()
219 hdr = (struct setup_header *)image; in main()
245 image = image + payload_offset; in main()
251 usize = xc_dom_check_gzip(xch, image, size); in main()
255 xc_dom_do_gunzip(xch, image, size, tmp, usize); in main()
256 image = tmp; in main()
260 if (0 != elf_init(&elf, image, size)) in main()
/xen/xen/common/efi/
A Dpe.c105 const void *__init pe_find_section(const void *image, const UINTN image_size, in pe_find_section() argument
108 const struct DosFileHeader *dos = image; in pe_find_section()
119 pe = image + offset; in pe_find_section()
136 sect = image + offset; in pe_find_section()
152 return image + sect->VirtualAddress; in pe_find_section()
/xen/docs/specs/
A Dlibxc-migration-stream.pandoc19 image used in Xen 4.4 and earlier (the _legacy format_).
27 * There is no header identifying the image.
29 * The image has no version information.
50 The image format consists of two main sections:
59 The image header describes the format of the image (version etc.).
96 The image header identifies an image as a Xen domain save image. It
108 one or more zero bits within the first 8 octets of the image.
169 xen_major The Xen major version when this image was saved.
171 xen_minor The Xen minor version when this image was saved.
772 zero then it is a 64-bit image.
[all …]
A Dlibxl-migration-stream.pandoc17 The _domain image format_ is the context of a running domain used for
21 There are a number of problems with the domain image format used in Xen 4.5
52 The image format consists of a _Header_, followed by 1 or more _Records_.
177 A end record marks the end of the image, and shall be the final record
190 own image format from the stream.
248 A checkpoint end record marks the end of a checkpoint in the image.
/xen/docs/misc/arm/
A Dbooting.txt31 Xen supports the legacy image header[3], zImage protocol for 32-bit
34 Until Xen 4.17, in case of legacy image protocol, Xen ignored the load
37 Now, it loads the image at the load address provided in the header.
41 position independent execution (PIE). Thus, Xen will load such an image
43 entry point of a PIE image since the start address cennot be
51 Also, it is to be noted that if user provides the legacy image header on
53 image header to determine the load address, entry point, etc.
73 Latest version: https://source.denx.de/u-boot/u-boot/-/blob/master/include/image.h#L315
/xen/automation/build/yocto/
A Dbuild-yocto.sh117 IMAGE_INSTALL:append:pn-xen-image-minimal = " ssh-pregen-hostkeys"
178 cp $BUILDDIR/tmp/deploy/images/qemuarm/xen-image-minimal-qemuarm.tar.bz2 $OUTPUTDIR
223 This script is build the yocto xen-image-minimal for different qemu targets
237 --image=IMG Yocto image or package to build
238 Default: xen-image-minimal
283 --image=*)
A Dyocto.dockerfile.in5 # Arguments that can be passed during image creation using --build-arg:
6 # "host_uid=$(id -u)": to use current user uid for build user in the image
7 # "host_gid=$(id -g)": to use current user gid for build user in the image
101 # final image.
/xen/xen/arch/x86/include/asm/
A Ddom0_build.h16 int dom0_construct_pv(struct domain *d, const module_t *image,
21 int dom0_construct_pvh(struct domain *d, const module_t *image,
/xen/docs/misc/
A Dkexec_and_kdump.txt43 Linux, it may be the same as the first kernel image that that runs before
65 XEN_IMAGE: xen hypervisor image
66 DOM0_IMAGE: dom0 kernel image
78 LINUX_IMAGE: the second linux kernel image
168 CRASH_KERNEL_IMAGE: the crash kernel image
176 vmlinux image is used as the crash kernel
182 - A uncompressed vmlinux image if the kernel is not relocatable
183 - A compressed bzImage or vmlinuz image if the kernel is relocatable
/xen/tools/libs/stat/
A Dxenstat_qmp.c143 char **dev_ids, *tmp, *ptr, *image, path[80]; in lookup_xenstore_devid() local
155 image = qmp_get_block_image(node, qmp_devname, qfd); in lookup_xenstore_devid()
156 if (image == NULL) { in lookup_xenstore_devid()
172 if (!strcmp(tmp,image)) { in lookup_xenstore_devid()
187 free(image); in lookup_xenstore_devid()
/xen/docs/man/
A Dxen-vtpm.7.pod157 generate a fresh vTPM image (with a new EK, SRK, and blank NVRAM).
171 =head2 Manager disk image setup:
173 The vTPM Manager requires a disk image to store its encrypted data. The image
174 does not require a filesystem and can live anywhere on the host disk. The image
181 virtual machine and requires a config file. The manager requires a disk image
206 =head2 vTPM disk image setup:
208 The vTPM requires a disk image to store its persistent data (RSA keys, NVRAM,
209 etc). The image does not require a filesystem. The image does not need to be
215 requires a disk image for storage and a TPM frontend driver to communicate with
222 If you wish to clear the vTPM data you can either recreate the disk image or
[all …]
/xen/tools/console/testsuite/
A DREADME14 console-domU should be installed within the guest image. It must be launched
15 from the client automatically. I use a custom initrd image and put it in the
/xen/tools/firmware/hvmloader/
A Drombios.c136 memcpy((void *)config->bios_address, config->image, in rombios_load()
221 .image = rombios,
/xen/tools/firmware/etherboot/
A DREADME22 Previously, an image from Rom-o-matic.net was provided here, fetched
28 from the downloaded image.

Completed in 68 milliseconds

1234