return;
}
-static int libxl__device_nic_from_xs_be(libxl__gc *gc,
+static int libxl__device_nic_from_xenstore(libxl__gc *gc,
const char *be_path,
libxl_device_nic *nic)
{
if (!path)
goto out;
- rc = libxl__device_nic_from_xs_be(gc, path, nic);
+ rc = libxl__device_nic_from_xenstore(gc, path, nic);
if (rc) goto out;
rc = 0;
for (; pnic < pnic_end; pnic++, dir++) {
const char *p;
p = libxl__sprintf(gc, "%s/%s", be_path, *dir);
- rc = libxl__device_nic_from_xs_be(gc, p, pnic);
+ rc = libxl__device_nic_from_xenstore(gc, p, pnic);
if (rc) goto out;
pnic->backend_domid = 0;
}
return 0;
}
-static int libxl__device_channel_from_xs_be(libxl__gc *gc,
+static int libxl__device_channel_from_xenstore(libxl__gc *gc,
const char *be_path,
libxl_device_channel *channel)
{
libxl_device_channel_init(channel);
- /* READ_BACKEND is from libxl__device_nic_from_xs_be above */
+ /* READ_BACKEND is from libxl__device_nic_from_xenstore above */
channel->name = READ_BACKEND(NOGC, "name");
tmp = READ_BACKEND(gc, "connection");
if (!strcmp(tmp, "pty")) {
}
*channels = tmp;
next = *channels + *nchannels + devid;
- rc = libxl__device_channel_from_xs_be(gc, be_path, next);
+ rc = libxl__device_channel_from_xenstore(gc, be_path, next);
if (rc) goto out;
next->devid = devid;
devid++;