/xen/tools/libxl/ |
A D | libxl_vkb.c | 93 const char *be_path, *fe_path, *tmp; in libxl__vkb_from_xenstore() local 101 &be_path); in libxl__vkb_from_xenstore() 122 be_path), &tmp); in libxl__vkb_from_xenstore() 131 be_path), &tmp); in libxl__vkb_from_xenstore() 140 be_path), &tmp); in libxl__vkb_from_xenstore() 149 be_path), &tmp); in libxl__vkb_from_xenstore() 158 be_path), &tmp); in libxl__vkb_from_xenstore() 167 be_path), &tmp); in libxl__vkb_from_xenstore() 176 be_path), &tmp); in libxl__vkb_from_xenstore() 185 be_path), &tmp); in libxl__vkb_from_xenstore() [all …]
|
A D | libxl_freebsd.c | 118 char *be_path = libxl__device_backend_path(gc, dev); in libxl__hotplug_nic() local 144 GCSPRINTF("%s/%s", be_path, "script")); in libxl__hotplug_nic() 147 "unable to read script from %s", be_path); in libxl__hotplug_nic() 155 (*args)[nr++] = be_path; in libxl__hotplug_nic() 169 char *be_path = libxl__device_backend_path(gc, dev); in libxl__hotplug_disk() local 174 GCSPRINTF("%s/%s", be_path, "script")); in libxl__hotplug_disk() 177 "unable to read script from %s", be_path); in libxl__hotplug_disk() 185 (*args)[nr++] = be_path; in libxl__hotplug_disk()
|
A D | libxl_netbsd.c | 38 char *be_path = libxl__device_backend_path(gc, dev); in libxl__hotplug() local 43 GCSPRINTF("%s/%s", be_path, "script")); in libxl__hotplug() 46 "unable to read script from %s", be_path); in libxl__hotplug() 53 (*args)[nr++] = be_path; in libxl__hotplug()
|
A D | libxl_usb.c | 174 be_path = libxl_path; in vusb_be_from_xs_libxl_type() 182 be_path = NULL; in vusb_be_from_xs_libxl_type() 185 return be_path; in vusb_be_from_xs_libxl_type() 717 const char *be_path; in libxl__usbctrl_from_xenstore() local 739 be_path = libxl_path; in libxl__usbctrl_from_xenstore() 743 if (!be_path) goto out; in libxl__usbctrl_from_xenstore() 1001 if (!be_path) { in libxl__device_usbdev_list_for_usbctrl() 1200 if (!be_path) { in libxl__device_usbdev_setdefault() 1264 char *be_path, *busid; in libxl__device_usbdev_add_xenstore() local 1336 char *be_path; in libxl__device_usbdev_remove_xenstore() local [all …]
|
A D | libxl_linux.c | 49 char *be_path = libxl__device_backend_path(gc, dev); in get_hotplug_env() local 68 GCSPRINTF("%s/%s", be_path, "gatewaydev")); in get_hotplug_env() 111 char *be_path = libxl__device_backend_path(gc, dev); in libxl__hotplug_nic() local 116 script = libxl__xs_read(gc, XBT_NULL, GCSPRINTF("%s/%s", be_path, in libxl__hotplug_nic() 120 "unable to read script from %s", be_path); in libxl__hotplug_nic() 167 char *be_path = libxl__device_backend_path(gc, dev); in libxl__hotplug_disk() local 172 GCSPRINTF("%s/%s", be_path, "script")); in libxl__hotplug_disk() 175 "unable to read script from %s", be_path); in libxl__hotplug_disk()
|
A D | libxl_device.c | 92 char *be_path = libxl__device_libxl_path(gc, device); in libxl__device_exists() local 95 rc = libxl__xs_read_checked(gc, t, be_path, &dir); in libxl__device_exists() 125 char *snictype, *be_path; in libxl__nic_type() local 128 be_path = libxl__device_backend_path(gc, dev); in libxl__nic_type() 731 const char *be_path = NULL; in libxl__device_destroy() local 765 libxl__xs_path_cleanup(gc, t, be_path); in libxl__device_destroy() 962 be_path); in libxl__initiate_device_generic_remove() 1155 aodev->xswait.path = be_path; in device_hotplug() 1391 LOG(ERROR, "Backend %s not ready", be_path); in libxl__wait_for_backend() 1753 char *be_path; in libxl_device_events_handler() local [all …]
|
A D | libxl_pci.c | 123 char *num_devs, *be_path; in libxl__device_pci_add_xenstore() local 213 num_devs_path = GCSPRINTF("%s/num_devs", be_path); in libxl__device_pci_remove_xenstore() 262 xs_rm(ctx->xsh, t, GCSPRINTF("%s/key-%d", be_path, i)); in libxl__device_pci_remove_xenstore() 269 tmppath = GCSPRINTF("%s/state-%d", be_path, j); in libxl__device_pci_remove_xenstore() 273 tmppath = GCSPRINTF("%s/dev-%d", be_path, j); in libxl__device_pci_remove_xenstore() 277 tmppath = GCSPRINTF("%s/key-%d", be_path, j); in libxl__device_pci_remove_xenstore() 281 tmppath = GCSPRINTF("%s/vdev-%d", be_path, j); in libxl__device_pci_remove_xenstore() 287 tmppath = GCSPRINTF("%s/opts-%d", be_path, j); in libxl__device_pci_remove_xenstore() 293 tmppath = GCSPRINTF("%s/vdevfn-%d", be_path, j); in libxl__device_pci_remove_xenstore() 2399 char *be_path; in libxl_device_pci_list() local [all …]
|
A D | libxl_vtpm.c | 66 const char *be_path; in libxl__vtpm_from_xenstore() local 73 &be_path); in libxl__vtpm_from_xenstore() 76 rc = libxl__backendpath_parse_domid(gc, be_path, &vtpm->backend_domid); in libxl__vtpm_from_xenstore() 79 uuid = libxl__xs_read(gc, XBT_NULL, GCSPRINTF("%s/uuid", be_path)); in libxl__vtpm_from_xenstore() 83 "(%s) Probably a bug!!\n", be_path, uuid); in libxl__vtpm_from_xenstore()
|
A D | libxl_vdispl.c | 31 const char *be_path; in libxl__vdispl_from_xenstore() local 37 &be_path); in libxl__vdispl_from_xenstore() 40 return libxl__backendpath_parse_domid(gc, be_path, &vdispl->backend_domid); in libxl__vdispl_from_xenstore()
|
A D | libxl_disk.c | 799 const char *be_path, *libxl_path; in cdrom_insert_ejected() local 816 be_path = libxl__device_backend_path(gc, &device); in cdrom_insert_ejected() 845 rc = libxl__xs_writev(gc, t, be_path, kvs); in cdrom_insert_ejected() 959 const char *be_path, *libxl_path; in cdrom_insert_inserted() local 972 be_path = libxl__device_backend_path(gc, &device); in cdrom_insert_inserted() 1016 rc = libxl__xs_writev(gc, t, be_path, kvs); in cdrom_insert_inserted() 1135 char *be_path, *pdpath; in libxl__device_disk_find_local_path() local 1146 be_path = libxl__device_backend_path(gc, &device); in libxl__device_disk_find_local_path() 1148 pdpath = libxl__sprintf(gc, "%s/physical-device-path", be_path); in libxl__device_disk_find_local_path() 1222 char *be_path = NULL; in local_device_attach_cb() local [all …]
|
A D | libxl_internal.h | 962 _hidden int libxl__backendpath_parse_domid(libxl__gc *gc, const char *be_path, 1529 _hidden int libxl__wait_for_backend(libxl__gc *gc, const char *be_path,
|
/xen/tools/helpers/ |
A D | init-xenstore-domain.c | 349 char buf[16], be_path[64], fe_path[64]; in main() local 438 snprintf(be_path, 64, "/local/domain/0/backend/console/%d/0", domid); in main() 441 do_xs_write_dir_node(xsh, be_path, "frontend-id", buf); in main() 442 do_xs_write_dir_node(xsh, be_path, "frontend", fe_path); in main() 443 do_xs_write_dir_node(xsh, be_path, "online", "1"); in main() 445 do_xs_write_dir_node(xsh, be_path, "state", buf); in main() 446 do_xs_write_dir_node(xsh, be_path, "protocol", "vt100"); in main() 447 do_xs_write_dir_node(xsh, fe_path, "backend", be_path); in main()
|