rc = libxl__nic_type(gc, dev, &nictype);
if (rc) {
- LOG(ERROR, "error when fetching nic type");
+ LOGD(ERROR, dev->domid, "error when fetching nic type");
rc = ERROR_FAIL;
goto out;
}
script = libxl__xs_read(gc, XBT_NULL,
GCSPRINTF("%s/%s", be_path, "script"));
if (!script) {
- LOGEV(ERROR, errno, "unable to read script from %s", be_path);
+ LOGEVD(ERROR, errno, dev->domid,
+ "unable to read script from %s", be_path);
rc = ERROR_FAIL;
goto out;
}
script = libxl__xs_read(gc, XBT_NULL,
GCSPRINTF("%s/%s", be_path, "script"));
if (!script) {
- LOGEV(ERROR, errno, "unable to read script from %s", be_path);
+ LOGEVD(ERROR, errno, dev->domid,
+ "unable to read script from %s", be_path);
rc = ERROR_FAIL;
goto out;
}