]> rtime.felk.cvut.cz Git - jailhouse.git/commit
core: Fix error handling of MMCONFIG setup
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 22 Jul 2014 16:48:19 +0000 (18:48 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Sat, 26 Jul 2014 11:00:12 +0000 (13:00 +0200)
commit7a47e29860de77cab18a3e6a9a8b9ec425dadc77
treeb698394e991711fc2ee2d594e79b5ec40af77e84
parent67b5b9e7613844036dd6f868dd6d51d61fe1fdfc
core: Fix error handling of MMCONFIG setup

If we have an MMCONFIG region, we must either successfully map it or
fail the initialization. Succeeding without setting up pci_space will
cause crashes later on when accessing it on behalf of a cell.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/pci.c