]> rtime.felk.cvut.cz Git - jailhouse.git/commit
core: Introduce cell shutdown control interface
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 14 Jan 2014 19:26:13 +0000 (20:26 +0100)
committerJan Kiszka <jan.kiszka@siemens.com>
Thu, 16 Jan 2014 16:06:37 +0000 (17:06 +0100)
commitc7ef80a321354908d117f64732ab6c0476356f80
treeee33e543870c81dc0ac35836df36ef6594397a54
parent33a808232cd96b5590fe83490fe6cbf9b3323afd
core: Introduce cell shutdown control interface

Using the messaging feature of the comm region, this introduces an
interface for cell to control their shutdown. The hypervisor sends a
shutdown request to a cell before destroying it. The cell can either
reject or accept the request in its reply message.

Cells can be excluded from this procedure and will continue to be
destructed immediately by setting the flag JAILHOUSE_CELL_UNMANAGED_EXIT
in their configuration file. For now we mark both demo cells as
unmanaged.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
configs/apic-demo.c
configs/tiny-demo.c
hypervisor/control.c
hypervisor/include/jailhouse/cell-config.h
hypervisor/include/jailhouse/hypercall.h