Browse files

Splitting up helpers used in sysfs parsing

The information needed to determine if a machine can run jailhouse is located
entirely in sysfs.  To see if a machine can run jailhouse, the user must
currently (1) generate a configuration file using jailhouse-config-create (2)
run `make` (3) pass this file to jailhouse-hardware-check.

Prepare for enabling jailhouse-hardware-check to read this information directly
from sysfs by moving the relevant sysfs parsing functions in
jailhouse-config-create into a module in pyjailhouse.

Signed-off-by: Chris Goldsworthy <>
Signed-off-by: Jan Kiszka <>
  • Loading branch information...
c4goldsw authored and jan-kiszka committed Sep 7, 2018
1 parent c71d79f commit 20a83313ea74283edfe5c000dd7d3e888e61a717
Showing with 957 additions and 930 deletions.
  1. +927 −0 pyjailhouse/
  2. +29 −930 tools/jailhouse-config-create
  3. +1 −0 tools/jailhouse-hardware-check
Oops, something went wrong.

0 comments on commit 20a8331

Please sign in to comment.