]> rtime.felk.cvut.cz Git - jailhouse.git/commit
tools/configs: Describe PCI capabilities in config files
authorJan Kiszka <jan.kiszka@siemens.com>
Sun, 20 Jul 2014 09:45:37 +0000 (11:45 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Mon, 28 Jul 2014 04:35:56 +0000 (06:35 +0200)
commitb62351549df225de15d210b590ad801e7dbdfb38
tree65cffb7257b7cb8e8711c2e307dd1e11300a5140
parent368d9a852c6b5851fb3365546ded12da9fe856a6
tools/configs: Describe PCI capabilities in config files

Instead of parsing the PCI config spaces in the hypervisor, offload this
to the configuration generator. It will produce a (logically) linked
list of capabilities per device, their ID, start and length. Each
capability can furthermore be marked as writable by the cell.

Note that identical capability lists shared between multiple devices
will automatically folded into a single one. The user can duplicate and
customize them individually in a manual post-processing step.

Configurations are updated for QEMU, the H87i and the pci-demo cell.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
configs/h87i.c
configs/pci-demo.c
configs/qemu-vm.c
hypervisor/include/jailhouse/cell-config.h
tools/jailhouse-config-create
tools/root-cell-config.c.tmpl