/xen/xen/common/ |
A D | kimage.c | 94 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 D | gunzip.c | 94 __init int gzip_check(char *image, unsigned long image_len) in gzip_check() argument 101 magic0 = (unsigned char)image[0]; in gzip_check() 102 magic1 = (unsigned char)image[1]; in gzip_check() 107 __init int perform_gunzip(char *output, char *image, unsigned long image_len) in perform_gunzip() argument 111 if ( !gzip_check(image, image_len) ) in perform_gunzip() 119 inbuf = (unsigned char *)image; in perform_gunzip()
|
A D | kexec.c | 397 struct kexec_image *image = _image; in kexec_reboot() local 402 machine_reboot_kexec(image); in kexec_reboot() 808 static void kexec_unload_image(struct kexec_image *image) in kexec_unload_image() argument 810 if ( !image ) in kexec_unload_image() 813 machine_kexec_unload(image); in kexec_unload_image() 814 kimage_free(image); in kexec_unload_image() 820 struct kexec_image *image; in kexec_exec() local 838 image = kexec_image[base + pos]; in kexec_exec() 839 ret = continue_hypercall_on_cpu(0, kexec_reboot, image); in kexec_exec() 994 mfn_t ind_mfn = maddr_to_mfn(load->image.indirection_page); in kexec_do_load_v1() [all …]
|
/xen/xen/arch/x86/ |
A D | machine_kexec.c | 42 l4_page = image->aux_page; in machine_kexec_add_page() 45 l4_page = kimage_alloc_control_page(image, 0); in machine_kexec_add_page() 48 image->aux_page = l4_page; in machine_kexec_add_page() 55 l3_page = kimage_alloc_control_page(image, 0); in machine_kexec_add_page() 104 int machine_kexec_load(struct kexec_image *image) in machine_kexec_load() argument 109 switch ( image->arch ) in machine_kexec_load() 144 machine_kexec(image); in machine_reboot_kexec() 148 void machine_kexec(struct kexec_image *image) in machine_kexec() argument 179 if ( image->arch == EM_386 ) in machine_kexec() 183 page_to_maddr(image->aux_page), in machine_kexec() [all …]
|
A D | bzimage.c | 12 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/libxc/ |
A D | xg_private.c | 31 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 D | xc_dom_binloader.c | 154 char *image = dom->kernel_blob; in xc_dom_parse_bin_kernel() local 185 ((char *) image_info - image) < in xc_dom_parse_bin_kernel() 193 start_addr = image_info->header_addr - ((char *)image_info - image); in xc_dom_parse_bin_kernel() 251 char *image = dom->kernel_blob; in xc_dom_load_bin_kernel() local 264 start_addr = image_info->header_addr - ((char *)image_info - image); in xc_dom_load_bin_kernel() 301 memcpy(dest, image + skip, text_size); in xc_dom_load_bin_kernel()
|
/xen/tools/tests/mce-test/lib/ |
A D | xen-mceinj-tool.sh | 27 local image=$1 30 local offset=`kpartx -l $image | awk '{print $NF*512}'` 31 mount -oloop,offset=$offset $image $tmpdir && echo "mount image to $tmpdir" 54 local image=$1 61 local File=`echo $image|sed "s/\//\\\\\\\\\\//g"` 62 local g_name="`basename $image`_`date +%H%M%S`" 64 hvm_image_prepare $image 78 if [ -z $image ]; then 79 show "Image file $image does not exist, Please input one valid file"
|
/xen/tools/libxl/ |
A D | check-xl-disk-parse | 78 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
|
/xen/xen/include/xen/ |
A D | kexec.h | 45 int machine_kexec_add_page(struct kexec_image *image, unsigned long vaddr, 47 int machine_kexec_load(struct kexec_image *image); 48 void machine_kexec_unload(struct kexec_image *image); 50 void machine_reboot_kexec(struct kexec_image *image); 51 void machine_kexec(struct kexec_image *image);
|
A D | kimage.h | 45 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 D | gunzip.h | 4 int gzip_check(char *image, unsigned long image_len); 5 int perform_gunzip(char *output, char *image, unsigned long image_len);
|
/xen/tools/xcutils/ |
A D | readnotes.c | 179 void *image,*tmp; in main() local 210 image = mmap(0, st.st_size, PROT_READ, MAP_SHARED, fd, 0); in main() 211 if (image == MAP_FAILED) in main() 218 hdr = (struct setup_header *)image; in main() 244 image = image + payload_offset; in main() 250 usize = xc_dom_check_gzip(xch, image, size); in main() 254 xc_dom_do_gunzip(xch, image, size, tmp, usize); in main() 255 image = tmp; in main() 259 if (0 != elf_init(&elf, image, size)) in main()
|
/xen/docs/specs/ |
A D | libxc-migration-stream.pandoc | 19 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. 765 zero then it is a 64-bit image. [all …]
|
A D | libxl-migration-stream.pandoc | 17 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/tools/tests/mce-test/cases/ucna_llc/guest/ |
A D | cases.sh | 47 i) image=$OPTARG; offset=`kpartx -l $image | awk '{print $NF*512}'`;; 61 create_hvm_guest $image -u $vcpus -m $memory
|
/xen/tools/tests/mce-test/cases/srao_llc/guest/ |
A D | cases.sh | 47 i) image=$OPTARG; offset=`kpartx -l $image | awk '{print $NF*512}'`;; 61 create_hvm_guest $image -u $vcpus -m $memory
|
/xen/tools/tests/mce-test/cases/srao_mem/guest/ |
A D | cases.sh | 47 i) image=$OPTARG; offset=`kpartx -l $image | awk '{print $NF*512}'`;; 61 create_hvm_guest $image -u $vcpus -m $memory
|
/xen/automation/gitlab-ci/ |
A D | test.yaml | 4 image: registry.gitlab.com/xen-project/xen/${CONTAINER} 27 image: registry.gitlab.com/xen-project/xen/${CONTAINER} 49 image: registry.gitlab.com/xen-project/xen/${CONTAINER} 71 image: registry.gitlab.com/xen-project/xen/${CONTAINER} 93 image: registry.gitlab.com/xen-project/xen/${CONTAINER}
|
/xen/xen/include/asm-x86/ |
A D | dom0_build.h | 16 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 D | kexec_and_kdump.txt | 43 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/xenstat/libxenstat/src/ |
A D | xenstat_qmp.c | 144 char **dev_ids, *tmp, *ptr, *image, path[80]; in lookup_xenstore_devid() local 156 image = qmp_get_block_image(node, qmp_devname, qfd); in lookup_xenstore_devid() 157 if (image == NULL) { in lookup_xenstore_devid() 173 if (!strcmp(tmp,image)) { in lookup_xenstore_devid() 188 free(image); in lookup_xenstore_devid()
|
/xen/docs/man/ |
A D | xen-vtpm.7.pod | 157 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/firmware/hvmloader/ |
A D | rombios.c | 136 memcpy((void *)config->bios_address, config->image, in rombios_load() 221 .image = rombios,
|
/xen/tools/console/testsuite/ |
A D | README | 14 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
|