]> rtime.felk.cvut.cz Git - jailhouse.git/commit
core: Fix PCI device runtime ownership tracking
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 4 Aug 2014 06:29:26 +0000 (08:29 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Mon, 4 Aug 2014 15:52:57 +0000 (17:52 +0200)
commit8ae0bb23ee6eb949eb70845e5fadb021d83abd3b
treef3e3b0768529bc95b5c099dd0e67f6d6bc0b1795
parent510985c73c187a2d0612f3f241bbdeb810fa7f50
core: Fix PCI device runtime ownership tracking

Trigger PCI device addition and removal from the PCI core and update the
cell field in the device state in order to track active ownership. The
vtd module now only provides callbacks to update its tables when adding
or removing a device.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/arch/x86/include/asm/vtd.h
hypervisor/arch/x86/pci.c
hypervisor/arch/x86/vtd.c
hypervisor/include/jailhouse/pci.h
hypervisor/pci.c