/xen/tools/libxl/ |
A D | libxl_uuid.c | 44 uuid_clear(uuid->uuid); in libxl_uuid_clear() 54 return uuid->uuid; in libxl_uuid_bytearray_const() 59 return uuid->uuid; in libxl_uuid_bytearray() 99 #define LIBXL__UUID_PTRS(uuid) &uuid[0], &uuid[1], &uuid[2], &uuid[3], \ argument 100 &uuid[4], &uuid[5], &uuid[6], &uuid[7], \ 101 &uuid[8], &uuid[9], &uuid[10],&uuid[11], \ 102 &uuid[12],&uuid[13],&uuid[14],&uuid[15] 115 memcpy(&dst->uuid, &src->uuid, sizeof(dst->uuid)); in libxl_uuid_copy() 120 memset(&uuid->uuid, 0, sizeof(uuid->uuid)); in libxl_uuid_clear() 143 return uuid->uuid; in libxl_uuid_bytearray_const() [all …]
|
A D | libxl_uuid.h | 20 #define LIBXL__UUID_BYTES(uuid) uuid[0], uuid[1], uuid[2], uuid[3], \ argument 21 uuid[4], uuid[5], uuid[6], uuid[7], \ 22 uuid[8], uuid[9], uuid[10], uuid[11], \ 23 uuid[12], uuid[13], uuid[14], uuid[15] 24 #define LIBXL_UUID_BYTES(arg) LIBXL__UUID_BYTES((arg).uuid) 28 unsigned char uuid[16]; member 53 int libxl_uuid_is_nil(const libxl_uuid *uuid); 54 void libxl_uuid_generate(libxl_uuid *uuid); 55 int libxl_uuid_from_string(libxl_uuid *uuid, const char *in); 67 void libxl_uuid_clear(libxl_uuid *uuid); [all …]
|
A D | libxl_vtpm.c | 24 if (libxl_uuid_is_nil(&vtpm->uuid)) { in libxl__device_vtpm_setdefault() 25 libxl_uuid_generate(&vtpm->uuid); in libxl__device_vtpm_setdefault() 35 libxl_uuid_copy(CTX, &dst->uuid, &src->uuid); in libxl__update_config_vtpm() 46 LIBXL_UUID_BYTES(vtpm->uuid))); in libxl__set_xenstore_vtpm() 67 char *uuid; in libxl__vtpm_from_xenstore() local 80 if (uuid) { in libxl__vtpm_from_xenstore() 81 if(libxl_uuid_from_string(&(vtpm->uuid), uuid)) { in libxl__vtpm_from_xenstore() 140 if(libxl_uuid_from_string(&(vtpminfo->uuid), val)) { in libxl_device_vtpm_getinfo() 175 libxl_uuid_copy(ctx, &vtpm->uuid, &vtpms[i].uuid); in libxl_devid_to_device_vtpm() 207 if(!libxl_uuid_compare(uuid, &vtpms[i].uuid)) { in libxl_uuid_to_device_vtpm() [all …]
|
/xen/stubdom/vtpmmgr/ |
A D | uuid.h | 42 #define UUID_BYTES(uuid) uuid[0], uuid[1], uuid[2], uuid[3], \ argument 43 uuid[4], uuid[5], uuid[6], uuid[7], \ 44 uuid[8], uuid[9], uuid[10], uuid[11], \ 45 uuid[12], uuid[13], uuid[14], uuid[15]
|
A D | manage-vtpmmgr.pl | 38 $uuid = join "-", unpack 'a8a4a4a4a12', $uuid; 79 $uuid = join "-", unpack 'a8a4a4a4a12', $uuid; 80 print "$uuid\n"; 81 mkdir "group-$uuid"; 108 my($group,$uuid) = @_; 109 if ($uuid) { 110 $uuid =~ s/-//g; 111 $uuid = pack('H32', $uuid)."\0"; 113 $uuid = ''; 120 my($uuid) = @_; [all …]
|
A D | mgmt_authority.c | 132 const void* uuid, const uint8_t* kern_hash,unsigned char** calc_hashes) in do_vtpminfo_hash() argument 139 if(uuid){ in do_vtpminfo_hash() 141 sha1_update(&ctx, (void*)uuid, 16); in do_vtpminfo_hash() 223 memcpy(&extended, group->id_data.uuid, 16); in do_pcr_setup() 228 if (uuid) { in do_pcr_setup() 230 memcpy(&extended, uuid, 16); in do_pcr_setup() 252 do_random(&group->id_data.uuid, 16); in vtpm_new_group() 257 group->id_data.uuid[6] = 0x40 | (group->id_data.uuid[6] & 0x0F); in vtpm_new_group() 258 group->id_data.uuid[8] = 0x80 | (group->id_data.uuid[8] & 0x3F); in vtpm_new_group() 323 int vtpm_do_quote(struct mem_group *group, const uuid_t uuid, in vtpm_do_quote() argument [all …]
|
A D | vtpm_disk.h | 44 uuid_t uuid; member 105 uuid_t uuid; member 184 uuid_t uuid; member 229 int create_vtpm(struct mem_group *group, struct mem_vtpm **vtpmp, const uuid_t uuid); 231 int find_vtpm(struct mem_group **groupp, struct mem_vtpm **vtpmp, const uuid_t uuid);
|
A D | vtpm_disk.c | 159 int create_vtpm(struct mem_group *group, struct mem_vtpm **vtpmp, const uuid_t uuid) in create_vtpm() argument 184 memcpy(vtpm->uuid, uuid, 16); in create_vtpm() 214 int find_vtpm(struct mem_group **groupp, struct mem_vtpm **vtpmp, const uuid_t uuid) in find_vtpm() argument 227 if (!memcmp(uuid, vt->uuid, 16)) { in find_vtpm()
|
A D | vtpm_cmd_handler.c | 55 static void gen_random_uuid(uuid_t uuid) in gen_random_uuid() argument 57 do_random(uuid, 16); in gen_random_uuid() 59 uuid[6] = 0x40 | (uuid[6] & 0x0F); in gen_random_uuid() 60 uuid[8] = 0x80 | (uuid[8] & 0x3F); in gen_random_uuid() 167 UUID_BYTES((*opq->uuid)), opq->vtpm->flags); in vtpmmgr_SaveHashKey() 338 PACK_OUT(BUFFER, group->id_data.uuid, 16); in vtpmmgr_GroupNew() 428 PACK_OUT(BUFFER, group->id_data.uuid, 16); in vtpmmgr_GroupShow() 700 memcpy(PACK_BUF, pg->vtpms[j]->uuid, 16); in vtpmmgr_VtpmList() 743 uuid_t uuid; in vtpmmgr_VtpmDel() local 748 UNPACK_IN(BUFFER, uuid, 16); in vtpmmgr_VtpmDel() [all …]
|
A D | mgmt_authority.h | 7 int vtpm_do_quote(struct mem_group *group, const uuid_t uuid,
|
/xen/m4/ |
A D | uuid.m4 | 2 AC_CHECK_HEADER([uuid/uuid.h],[ 3 AC_CHECK_LIB([uuid], [uuid_clear], [libuuid="y"]) 5 AC_CHECK_HEADER([uuid.h],[libuuid="y"]) 7 AC_MSG_ERROR([cannot find a valid uuid library])
|
/xen/tools/helpers/ |
A D | xen-init-dom0.c | 47 libxl_uuid uuid; in main() local 79 libxl_uuid_clear(&uuid); in main() 82 if (argc == 2 && libxl_uuid_from_string(&uuid, argv[1])) { in main() 88 if (!libxl_uuid_is_nil(&uuid) && in main() 89 xc_domain_sethandle(xch, 0, libxl_uuid_bytearray(&uuid))) { in main() 95 rc = gen_stub_json_config(0, &uuid); in main()
|
A D | init-dom-json.c | 10 int gen_stub_json_config(uint32_t domid, libxl_uuid *uuid) in gen_stub_json_config() argument 43 if (uuid && !libxl_uuid_is_nil(uuid)) in gen_stub_json_config() 44 libxl_uuid_copy(ctx, &dom_config.c_info.uuid, uuid); in gen_stub_json_config()
|
A D | init-dom-json.h | 8 int gen_stub_json_config(uint32_t domid, libxl_uuid *uuid);
|
/xen/tools/xl/ |
A D | xl_vtpm.c | 45 if(libxl_uuid_from_string(&(vtpm.uuid), oparg)) { in main_vtpmattach() 102 LIBXL_UUID_BYTES(vtpminfo.uuid), in main_vtpmlist() 119 libxl_uuid uuid; in main_vtpmdetach() local 127 if ( libxl_uuid_from_string(&uuid, argv[optind+1])) { in main_vtpmdetach() 133 if (libxl_uuid_to_device_vtpm(ctx, domid, &uuid, &vtpm)) { in main_vtpmdetach()
|
A D | xl_cpupool.c | 51 libxl_uuid uuid; in main_cpupoolcreate() local 210 libxl_uuid_generate(&uuid); in main_cpupoolcreate() 219 if (libxl_cpupool_create(ctx, name, sched, cpumap, &uuid, &poolid)) { in main_cpupoolcreate() 482 libxl_uuid uuid; in main_cpupoolnumasplit() local 588 libxl_uuid_generate(&uuid); in main_cpupoolnumasplit() 590 if (libxl_cpupool_create(ctx, name, sched, cpumap, &uuid, &poolid)) { in main_cpupoolnumasplit()
|
/xen/tools/pygrub/examples/ |
A D | ubuntu-14.04-lts.grub2 | 72 search --no-floppy --fs-uuid --set=root c7a4b4ca-71da-4d03-b374-a6b76ebcfc90 136 search --no-floppy --fs-uuid --set=root 86ba9198-4319-4809-908d-6dbe6938b19a 138 search --no-floppy --fs-uuid --set=root 86ba9198-4319-4809-908d-6dbe6938b19a 151 search --no-floppy --fs-uuid --set=root 86ba9198-4319-4809-908d-6dbe6938b19a 153 search --no-floppy --fs-uuid --set=root 86ba9198-4319-4809-908d-6dbe6938b19a 166 search --no-floppy --fs-uuid --set=root 86ba9198-4319-4809-908d-6dbe6938b19a 168 search --no-floppy --fs-uuid --set=root 86ba9198-4319-4809-908d-6dbe6938b19a 188 search --no-floppy --fs-uuid --set=root 86ba9198-4319-4809-908d-6dbe6938b19a 190 search --no-floppy --fs-uuid --set=root 86ba9198-4319-4809-908d-6dbe6938b19a 198 search --no-floppy --fs-uuid --set=root 86ba9198-4319-4809-908d-6dbe6938b19a [all …]
|
A D | debian-wheezy-hvm.grub2 | 39 search --no-floppy --fs-uuid --set=root f395d5a0-4612-4872-806c-33cd37c152f0 47 search --no-floppy --fs-uuid --set=root f395d5a0-4612-4872-806c-33cd37c152f0 68 search --no-floppy --fs-uuid --set=root f395d5a0-4612-4872-806c-33cd37c152f0 80 search --no-floppy --fs-uuid --set=root f395d5a0-4612-4872-806c-33cd37c152f0
|
A D | fedora-19.grub2 | 71 search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' 5001334f-de37-4b0b-bd2b-c1cea036f293 73 search --no-floppy --fs-uuid --set=root 5001334f-de37-4b0b-bd2b-c1cea036f293 85 search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' 5001334f-de37-4b0b-bd2b-c1cea036f293 87 search --no-floppy --fs-uuid --set=root 5001334f-de37-4b0b-bd2b-c1cea036f293
|
A D | rhel-7-beta.grub2 | 73 search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' 89ffef78-82b3-457c-bc57-42cccc373851 75 search --no-floppy --fs-uuid --set=root 89ffef78-82b3-457c-bc57-42cccc373851 87 search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' 89ffef78-82b3-457c-bc57-42cccc373851 89 search --no-floppy --fs-uuid --set=root 89ffef78-82b3-457c-bc57-42cccc373851
|
A D | fedora-16-with-xen.grub2 | 46 search --no-floppy --fs-uuid --set=root f14ea58a-c2b3-4348-8091-3ab733a2f49e 59 search --no-floppy --fs-uuid --set=root f14ea58a-c2b3-4348-8091-3ab733a2f49e 73 search --no-floppy --fs-uuid --set=root f14ea58a-c2b3-4348-8091-3ab733a2f49e 85 search --no-floppy --fs-uuid --set=root f14ea58a-c2b3-4348-8091-3ab733a2f49e
|
/xen/tools/firmware/rombios/32bit/ |
A D | util.c | 245 uuid_to_string(char *dest, uint8_t *uuid) in uuid_to_string() argument 252 byte_to_hex(p, uuid[i]); in uuid_to_string() 258 byte_to_hex(p, uuid[i]); in uuid_to_string() 264 byte_to_hex(p, uuid[i]); in uuid_to_string() 270 byte_to_hex(p, uuid[i]); in uuid_to_string() 276 byte_to_hex(p, uuid[i]); in uuid_to_string()
|
/xen/docs/misc/ |
A D | vtpm-platforms.txt | 41 vtpm=["backend=vtpmmgr,uuid=ac0a5b9e-cbe2-4c07-b43b-1d69e46fb839"] 48 vtpm=["backend=vtpmmgr,uuid=6c3ff5f1-8d58-4fed-b00d-a5ea9a817f7f"] 106 # xl vtpm-attach vtpm-hw uuid=062b6416-ed46-492a-9e65-a2f92dc07f7f backend=vtpmmgr 107 # xl vtpm-attach vtpm-g1 uuid=e9aa9d0f-ece5-4b84-b129-93004ba61a5f backend=vtpmmgr 108 # xl vtpm-attach vtpm-g2 uuid=3fb2caf0-d305-4516-96c7-420618d98efb backend=vtpmmgr 109 # xl vtpm-attach hardware uuid=062b6416-ed46-492a-9e65-a2f92dc07f7f backend=vtpm-hw 110 # xl vtpm-attach guest1 uuid=e9aa9d0f-ece5-4b84-b129-93004ba61a5f backend=vtpm-g1 111 # xl vtpm-attach guest2 uuid=3fb2caf0-d305-4516-96c7-420618d98efb backend=vtpm-g2
|
/xen/tools/hotplug/Linux/ |
A D | vif-openvswitch | 53 local uuid=$(xenstore_read "${vm_path}/uuid") 54 openvswitch_external_id $dev "xen-vm-uuid" "$uuid"
|
/xen/tools/firmware/hvmloader/ |
A D | smbios.c | 55 uint8_t uuid[16], char *xen_version, 71 uint8_t uuid[16]); 177 uint8_t uuid[16], char *xen_version, in write_smbios_tables() 203 do_struct(smbios_type_1_init(p, xen_version, uuid)); in write_smbios_tables() 256 xen_domain_handle_t uuid; in hvm_write_smbios_tables() local 269 hypercall_xen_version(XENVER_guest_handle, uuid); in hvm_write_smbios_tables() 317 uuid, xen_version_str, in hvm_write_smbios_tables() 438 uint8_t uuid[16]) in smbios_type_1_init() 465 memcpy(p->uuid, uuid, 16); in smbios_type_1_init() 485 uuid_to_string(uuid_str, uuid); in smbios_type_1_init()
|