]> rtime.felk.cvut.cz Git - jailhouse.git/commit
configs/tools: Introduce device and interrupt number limit
authorJan Kiszka <jan.kiszka@siemens.com>
Thu, 7 Aug 2014 06:25:17 +0000 (08:25 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Sat, 23 Aug 2014 11:26:10 +0000 (13:26 +0200)
commit7d77ac617df4bee6648e03b7ee3f2343c63fa175
tree911ad41038236d89da257090f1cd368881364180
parent95bb052365255ace319ad623d65ad94c5a0404f8
configs/tools: Introduce device and interrupt number limit

VT-d interrupt remapping but also (one day) AMD IOMMUs require us to
dimension related tables during setup. Introduce two parameters to the
config file, one set an upper limit of interrupts (all types) that the
system may have to control (for all cells) and another one for devices
in the system. The former will be used for VT-d, the latter should once
be helpful for AMD support, thus it can remain unset in Intel configs.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/include/jailhouse/cell-config.h
tools/root-cell-config.c.tmpl