"[--mem-inmates MEM_INMATES]\n"
" [--mem-hv MEM_HV] FILE" },
{ "config", "collect", "FILE.TAR" },
+ { "hardware", "check", "SYSCONFIG" },
{ NULL }
};
static int cell_shutdown_load(int argc, char *argv[],
enum shutdown_load_mode mode)
{
- unsigned int images, id_args, arg_num, n;
struct jailhouse_preload_image *image;
struct jailhouse_cell_load *cell_load;
struct jailhouse_cell_id cell_id;
+ int err, fd, id_args, arg_num;
+ unsigned int images, n;
size_t size;
- int err, fd;
char *endp;
id_args = parse_cell_id(&cell_id, argc - 3, &argv[3]);
close(fd);
} else if (strcmp(argv[1], "cell") == 0) {
err = cell_management(argc, argv);
- } else if (strcmp(argv[1], "config") == 0) {
+ } else if (strcmp(argv[1], "config") == 0 ||
+ strcmp(argv[1], "hardware") == 0) {
call_extension_script(argv[1], argc, argv);
help(argv[0], 1);
} else if (strcmp(argv[1], "--version") == 0) {