]> rtime.felk.cvut.cz Git - jailhouse.git/commit
core: Introduce arch_shutdown
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 10 Jan 2014 16:27:46 +0000 (17:27 +0100)
committerJan Kiszka <jan.kiszka@siemens.com>
Fri, 10 Jan 2014 16:32:25 +0000 (17:32 +0100)
commit8096cc94a6698febf0a372c6ff2eb3ec52a15358
tree5c8521447869f9e81672b6edf162528c71389709
parenta88ec1c8dfc2adf59fc274be2ad13b18331be6fb
core: Introduce arch_shutdown

Introduce an arch-specific shutdown function to be called once when the
hypervisor is disabled. Use it on x86 for invoking vtd_shutdown. This
avoids that vtd_shutdown is called multiple times, which was harmless
but conceptually incorrect.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/arch/arm/setup.c
hypervisor/arch/x86/control.c
hypervisor/arch/x86/vmx.c
hypervisor/control.c
hypervisor/include/jailhouse/control.h