]> rtime.felk.cvut.cz Git - jailhouse.git/commit
core: Make arch_unmap_memory_region return error codes
authorJan Kiszka <jan.kiszka@siemens.com>
Sun, 6 Apr 2014 08:53:37 +0000 (10:53 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Sun, 6 Apr 2014 09:23:11 +0000 (11:23 +0200)
commit738dffd234d65af1ab9edb9a213814e67ba4b577
treebca10fd69fd6791681ef02c09411fd5fa1c46b83
parent2d67148c1560b759abb4810507b59d000070bae7
core: Make arch_unmap_memory_region return error codes

We are going to use arch_unmap_memory_region also for scenarios we
hugepages might require breakups, thus we will need to handle potential
errors. Prepare arch_unmap_memory_region and its implementations for
this by propagating the error of page_map_destroy.

We can still ignore the return code in cell_destroy, so move the
corresponding comment.

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