Skip to content

Commit

Permalink
README, tools: Update 'jailhouse hardware check' documentation
Browse files Browse the repository at this point in the history
The SYSCONFIG parameter is history now.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
  • Loading branch information
jan-kiszka committed Sep 9, 2018
1 parent 064cfe3 commit 03e218d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
14 changes: 6 additions & 8 deletions README.md
Expand Up @@ -222,21 +222,19 @@ each additional cell besides the primary Linux. These .cell files have to be
passed to the jailhouse command line tool for enabling the hypervisor or
creating new cells.

On x86 a system configuration can be created on the target system by running
the following command:
On x86, the required hardware capabilities can be validated by running

jailhouse hardware check

A system configuration can be created on an x86 target system by running the
following command:

jailhouse config create sysconfig.c

In order to translate this into the required binary form, place this file in
the configs/x86/ directory. The build system will pick up every .c file from
there and generate a corresponding .cell file.

On x86 the hardware capabilities can be validated by running

jailhouse hardware check sysconfig.cell

providing the binary system configuration created for the target.

Currently, there is no config generator for the ARM architecture; therefore the
config file must be manually written by starting from the reference examples
and checking hardware-specific datasheets, DTS and /proc entries.
Expand Down
2 changes: 1 addition & 1 deletion tools/jailhouse.c
Expand Up @@ -52,7 +52,7 @@ static const struct extension extensions[] = {
"[--mem-inmates MEM_INMATES]\n"
" [--mem-hv MEM_HV] FILE" },
{ "config", "collect", "FILE.TAR" },
{ "hardware", "check", "SYSCONFIG" },
{ "hardware", "check", "" },
{ NULL }
};

Expand Down

0 comments on commit 03e218d

Please sign in to comment.