]> rtime.felk.cvut.cz Git - jailhouse.git/commit
tools: Prepare further command line tool extensions
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 20 Jun 2014 23:05:03 +0000 (01:05 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Wed, 25 Jun 2014 11:36:46 +0000 (13:36 +0200)
commit00572cc55d9b3fd05e66ff7b82e03879d7805802
treec75f9327cfdd2045d0ed195be1ea9f718ab3990f
parentb82979ad9dcae36dc7d695c6ec126136b4e810aa
tools: Prepare further command line tool extensions

Allow to add more extension scripts to the command line tool. We define
a structure that describes an extension by command / subcommand and
provides help to be displayed by the tool. The extension script itself
has to be called jailhouse-<command>-<subcommand>. We look for it in
$PATH, extended by the tool's directory and /usr/lib/jailhouse.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
tools/jailhouse-cell-list
tools/jailhouse.c