/xen/tools/libxl/ |
A D | libxl_disk.c | 528 GCSPRINTF("%s/type", libxl_path)); in libxl__disk_from_xenstore() 582 char *libxl_path; in libxl_vdev_to_device_disk() local 605 char *fe_path, *libxl_path; in libxl_device_disk_getinfo() local 799 const char *be_path, *libxl_path; in cdrom_insert_ejected() local 817 libxl_path = libxl__device_libxl_path(gc, &device); in cdrom_insert_ejected() 838 GCSPRINTF("%s/frontend", libxl_path)); in cdrom_insert_ejected() 848 rc = libxl__xs_writev(gc, t, libxl_path, kvs); in cdrom_insert_ejected() 959 const char *be_path, *libxl_path; in cdrom_insert_inserted() local 973 libxl_path = libxl__device_libxl_path(gc, &device); in cdrom_insert_inserted() 1006 GCSPRINTF("%s/frontend", libxl_path)); in cdrom_insert_inserted() [all …]
|
A D | libxl_nic.c | 250 static int libxl__nic_from_xenstore(libxl__gc *gc, const char *libxl_path, in libxl__nic_from_xenstore() argument 259 GCSPRINTF("%s/handle", libxl_path), &tmp); in libxl__nic_from_xenstore() 267 GCSPRINTF("%s/backend", libxl_path), &tmp); in libxl__nic_from_xenstore() 271 LOG(ERROR, "nic %s does not exist (no backend path)", libxl_path); in libxl__nic_from_xenstore() 281 GCSPRINTF("%s/mac", libxl_path), &tmp); in libxl__nic_from_xenstore() 291 GCSPRINTF("%s/ip", libxl_path), in libxl__nic_from_xenstore() 295 GCSPRINTF("%s/bridge", libxl_path), in libxl__nic_from_xenstore() 299 GCSPRINTF("%s/script", libxl_path), in libxl__nic_from_xenstore() 303 GCSPRINTF("%s/forwarddev", libxl_path), in libxl__nic_from_xenstore() 367 GCSPRINTF("%s/type", libxl_path), &tmp); in libxl__nic_from_xenstore() [all …]
|
A D | libxl_vtpm.c | 61 static int libxl__vtpm_from_xenstore(libxl__gc *gc, const char *libxl_path, in libxl__vtpm_from_xenstore() argument 72 GCSPRINTF("%s/backend", libxl_path), in libxl__vtpm_from_xenstore() 97 char *libxl_path, *vtpmpath; in libxl_device_vtpm_getinfo() local 106 libxl_path = libxl__domain_device_libxl_path(gc, domid, vtpminfo->devid, in libxl_device_vtpm_getinfo() 109 GCSPRINTF("%s/backend", libxl_path), NULL); in libxl_device_vtpm_getinfo() 131 GCSPRINTF("%s/frontend", libxl_path), NULL); in libxl_device_vtpm_getinfo() 135 GCSPRINTF("%s/uuid", libxl_path)); in libxl_device_vtpm_getinfo()
|
A D | libxl_vdispl.c | 27 static int libxl__vdispl_from_xenstore(libxl__gc *gc, const char *libxl_path, in libxl__vdispl_from_xenstore() argument 36 GCSPRINTF("%s/backend", libxl_path), in libxl__vdispl_from_xenstore() 159 char *libxl_path, *devpath; in libxl_device_vdispl_getinfo() local 168 libxl_path = libxl__domain_device_libxl_path(gc, domid, info->devid, in libxl_device_vdispl_getinfo() 172 GCSPRINTF("%s/backend", libxl_path), in libxl_device_vdispl_getinfo() 183 GCSPRINTF("%s/frontend", libxl_path), in libxl_device_vdispl_getinfo()
|
A D | libxl_vkb.c | 89 static int libxl__vkb_from_xenstore(libxl__gc *gc, const char *libxl_path, in libxl__vkb_from_xenstore() argument 100 GCSPRINTF("%s/backend", libxl_path), in libxl__vkb_from_xenstore() 105 GCSPRINTF("%s/frontend", libxl_path), in libxl__vkb_from_xenstore() 287 char *libxl_path, *dompath, *devpath; in libxl_device_vkb_getinfo() local 297 libxl_path = libxl__domain_device_libxl_path(gc, domid, info->devid, in libxl_device_vkb_getinfo() 301 GCSPRINTF("%s/backend", libxl_path), in libxl_device_vkb_getinfo() 312 GCSPRINTF("%s/frontend", libxl_path), in libxl_device_vkb_getinfo()
|
A D | libxl_usb.c | 174 be_path = libxl_path; in vusb_be_from_xs_libxl_type() 308 const char *libxl_path, *be_path; in libxl__device_usbctrl_del_xenstore() local 739 be_path = libxl_path; in libxl__usbctrl_from_xenstore() 742 be_path = READ_SUBPATH(libxl_path, "backend"); in libxl__usbctrl_from_xenstore() 765 const char *libxl_path; in libxl_device_usbctrl_getinfo() local 794 be_path = READ_SUBPATH(libxl_path, "backend"); in libxl_device_usbctrl_getinfo() 991 const char *libxl_path, *be_path, *num_devs; in libxl__device_usbdev_list_for_usbctrl() local 1000 be_path = vusb_be_from_xs_libxl(gc, libxl_path); in libxl__device_usbdev_list_for_usbctrl() 1194 const char *libxl_path, *be_path, *tmp; in libxl__device_usbdev_setdefault() local 2076 const char *libxl_path, *be_path, *busid; in libxl_ctrlport_to_device_usbdev() local [all …]
|
A D | libxl_console.c | 461 const char *libxl_path, in libxl__device_channel_from_xenstore() argument 470 GCSPRINTF("%s/name", libxl_path), in libxl__device_channel_from_xenstore() 474 GCSPRINTF("%s/connection", libxl_path), &tmp); in libxl__device_channel_from_xenstore() 481 GCSPRINTF("%s/path", libxl_path), in libxl__device_channel_from_xenstore() 514 const char *libxl_path, *name; in libxl__append_channel_list() local 517 libxl_path = GCSPRINTF("%s/%s", libxl_dir_path, dir[i]); in libxl__append_channel_list() 518 name = libxl__xs_read(gc, XBT_NULL, GCSPRINTF("%s/name", libxl_path)); in libxl__append_channel_list() 530 rc = libxl__device_channel_from_xenstore(gc, libxl_path, next); in libxl__append_channel_list() 573 char *fe_path, *libxl_path; in libxl_device_channel_getinfo() local 582 libxl_path = libxl__domain_device_libxl_path(gc, domid, in libxl_device_channel_getinfo() [all …]
|
A D | libxl_vsnd.c | 226 static int libxl__vsnd_from_xenstore(libxl__gc *gc, const char *libxl_path, in libxl__vsnd_from_xenstore() argument 236 GCSPRINTF("%s/backend", libxl_path), in libxl__vsnd_from_xenstore() 244 GCSPRINTF("%s/frontend", libxl_path), in libxl__vsnd_from_xenstore() 595 char *libxl_path, *dompath, *devpath; in libxl_device_vsnd_getinfo() local 605 libxl_path = libxl__domain_device_libxl_path(gc, domid, info->devid, in libxl_device_vsnd_getinfo() 609 GCSPRINTF("%s/backend", libxl_path), NULL); in libxl_device_vsnd_getinfo() 619 GCSPRINTF("%s/frontend", libxl_path), NULL); in libxl_device_vsnd_getinfo()
|
A D | libxl_device.c | 152 char *frontend_path = NULL, *backend_path = NULL, *libxl_path; in libxl__device_generic_add() local 167 libxl_path = libxl__device_libxl_path(gc, device); in libxl__device_generic_add() 185 rc = libxl__xs_rm_checked(gc, t, libxl_path); in libxl__device_generic_add() 193 rc = libxl__xs_write_checked(gc, t, GCSPRINTF("%s/backend",libxl_path), in libxl__device_generic_add() 259 rc = libxl__xs_writev(gc, t, libxl_path, bents); in libxl__device_generic_add() 733 const char *libxl_path = libxl__device_libxl_path(gc, dev); in libxl__device_destroy() local 758 libxl__xs_path_cleanup(gc, t, libxl_path); in libxl__device_destroy() 2013 char *libxl_path; in libxl__device_list() local 2021 libxl_path = GCSPRINTF("%s/device/%s", in libxl__device_list() 2025 dir = libxl__xs_directory(gc, XBT_NULL, libxl_path, &ndirs); in libxl__device_list() [all …]
|
A D | libxl_create.c | 585 char *dom_path, *vm_path, *libxl_path; in libxl__domain_make() local 747 libxl_path = libxl__xs_libxl_path(gc, *domid); in libxl__domain_make() 748 if (!libxl_path) { in libxl__domain_make() 773 xs_rm(ctx->xsh, t, libxl_path); in libxl__domain_make() 774 libxl__xs_mknod(gc, t, libxl_path, noperm, ARRAY_SIZE(noperm)); in libxl__domain_make() 775 libxl__xs_mknod(gc, t, GCSPRINTF("%s/device", libxl_path), in libxl__domain_make() 885 xs_write(ctx->xsh, t, GCSPRINTF("%s/type", libxl_path), dom_type, in libxl__domain_make()
|