There's no sense to switch to qemu-xen-traditional device model
if that one is not enabled in the first place. This way we'll
have a chance later to print a message suggesting to install the
missing qemu package if we *actually* need qemu for the device model.
b_info->device_model_version =
LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN;
}
+#if HAVE_QEMU_TRADITIONAL
if (b_info->device_model_version
== LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN) {
const char *dm;
}
}
}
+#endif
}
if (b_info->blkdev_start == NULL)
}
if (access(dm, X_OK) < 0) {
LOGED(ERROR, domid, "device model %s is not executable", dm);
+ if (strcmp(dm, QEMU_XEN_PATH) == 0) {
+ LOGD(ERROR, domid, "Please install the qemu-system-xen package for this domain to work");
+ }
rc = ERROR_FAIL;
goto out;
}