]> rtime.felk.cvut.cz Git - jailhouse.git/commit
driver, pci: add functions to add/del devices to/from root-cell
authorHenning Schild <henning.schild@siemens.com>
Wed, 26 Nov 2014 18:04:01 +0000 (19:04 +0100)
committerJan Kiszka <jan.kiszka@siemens.com>
Wed, 26 Nov 2014 18:14:50 +0000 (19:14 +0100)
commit14309fb02d14b8acb9599ae5d185d1fefa25baba
tree5fd4f37c99c681dc0bc9df0b3acebad781b7f1a3
parentbb0483284f6bfa9543867e30f8473cc00449efc5
driver, pci: add functions to add/del devices to/from root-cell

This patch introduces functions to add or remove PCI devices in the root
cell. The functions are not called yet, the patch prepares for virtual
PCI devices.
The original idea was to remove PCI devices from Linux on cell create
and re-add them on cell destroy. But in this case Linux could reprogram
the BARs so we ignore regular PCI devices for now.

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
driver.c