]> rtime.felk.cvut.cz Git - jailhouse.git/commit
core: pci: Skip architecture hooks on virtual device addition/removal
authorJan Kiszka <jan.kiszka@siemens.com>
Sun, 17 May 2015 08:39:19 +0000 (10:39 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Mon, 18 May 2015 05:42:19 +0000 (07:42 +0200)
commit148197a8c231d36bbcea280ee737037fb64493d5
treea41bc28012e0ec71c8ab197d6741c1683ddbf49d
parent25c5248809840b80f46c6dff5e930eb98f0fa680
core: pci: Skip architecture hooks on virtual device addition/removal

arch_pci_add_device and arch_pci_remove_device acted as nops for virtual
PCI devices so far, and there is no change in sight. So stop calling the
hooks from pci_add/remove_virtual_device, drop related checks from the
vtd code and rename functions that work on physical devices to clarify
their scope.

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