# Return value:
# 0: the device is drbd device
# 1: the device is not drbd device
-# 2: unkown error
+# 2: unknown error
# 3: the drbd device does not use protocol D
# 4: the drbd device is not ready
return "xen-3.0-x86_64";
default:
xc_dom_panic(dom->xch, XC_INVALID_KERNEL,
- "%s: unkown image type %"PRIu64,
+ "%s: unknown image type %"PRIu64,
__FUNCTION__, machine);
return NULL;
}
/*
* Do not use any of the user-provided config files in sysconfdir,
- * avoiding unkown and uncontrolled configuration.
+ * avoiding unknown and uncontrolled configuration.
*/
flexarray_append(dm_args, "-no-user-config");
*
* Applications should ensure that they eventually retrieve every
* event using libxl_event_check or libxl_event_wait, since events
- * which occur but are not retreived by the application will be queued
+ * which occur but are not retrieved by the application will be queued
* inside libxl indefinitely. libxl_event_check/_wait may be O(n)
* where n is the number of queued events which do not match the
* criteria specified in the arguments to check/wait.
port = libxl__json_object_get_string(obj);
if (!addr || !port) {
- LOGD(ERROR, qmp->domid, "Failed to retreive VNC connect information.");
+ LOGD(ERROR, qmp->domid, "Failed to retrieve VNC connect information.");
goto out;
}
const char *name, int namelen);
/**
- * fdt_get_alias - retreive the path referenced by a given alias
+ * fdt_get_alias - retrieve the path referenced by a given alias
* @fdt: pointer to the device tree blob
* @name: name of the alias th look up
*