]> rtime.felk.cvut.cz Git - jailhouse.git/commit
core: Disable non-root PCI devices on shutdown
authorJan Kiszka <jan.kiszka@siemens.com>
Thu, 7 May 2015 17:27:12 +0000 (19:27 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Thu, 7 May 2015 17:30:51 +0000 (19:30 +0200)
commit1d5f673b63f540242d5436fd0d60d92d1a916bc0
tree57f09405122b98438f7c9841b6b336f357d72125
parentf5888996824a92cbd18c5a3e0c634a7021df9887
core: Disable non-root PCI devices on shutdown

We already disable PCI devices that are removed when a cell is
destroyed but we should also do this on hypervisor shutdown to avoid
that those device later on annoy Linux with unexpected activities.

The change is bigger as it re-indents the shutdown loop to maintain
readability.

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