]> rtime.felk.cvut.cz Git - jailhouse.git/commit
core/x86: Provide "Cell Get State" hypercall
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 4 Mar 2014 17:15:47 +0000 (18:15 +0100)
committerJan Kiszka <jan.kiszka@siemens.com>
Wed, 5 Mar 2014 09:25:54 +0000 (10:25 +0100)
commit7492a8d023d907585c19824224254d6332e0ca7a
tree055384c1ae1966fb5a8d50ea134bad52391d6ab1
parent8044de4fffcc6540515cf51cbadc2136a6720bd1
core/x86: Provide "Cell Get State" hypercall

Implement the hypercall to retrieve the cell state. This is based on the
information the cell provides via its communication page (as long as it
is alive). So the value may be corrupt, and we need to check it before
returning it to the caller.

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