]> rtime.felk.cvut.cz Git - jailhouse.git/commit
core, tools: Add BAR masks to jailhouse_pci_device
authorJan Kiszka <jan.kiszka@siemens.com>
Sun, 17 May 2015 09:06:50 +0000 (11:06 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Fri, 22 May 2015 04:53:48 +0000 (06:53 +0200)
commitd1f763162ce6fc57268efc214932bd610c1bac75
treee9fc38806368234c84c7ffba4f55e2a749c77857
parentbe5ef681430141fb6831292ec97c1cb19dbdce44
core, tools: Add BAR masks to jailhouse_pci_device

Add a new field per BAR to the PCI device configuration. It allows to
mask the modifiable part of a BAR before storing writes. This will
support BAR write emulation that is required to make PCI resource sizes
explorable by cells.

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