]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Add SPAPR PPC64 hcall & rtascall structure
authorMatt Evans <matt@ozlabs.org>
Sat, 4 Feb 2012 08:07:21 +0000 (19:07 +1100)
committerPekka Enberg <penberg@kernel.org>
Sat, 4 Feb 2012 09:19:59 +0000 (11:19 +0200)
commitefb41050d9fab8aa4c56c1c69b106d1acac43de0
tree8700f47412fd33093086396fabde7219470c9a44
parent93c8d2f524588780f4472c8723ee985beac7665b
kvm tools: Add SPAPR PPC64 hcall & rtascall structure

This patch adds the basic structure for HV calls, their registration and some of
the simpler calls.  A similar layout for RTAS calls is also added, again with
some of the simpler RTAS calls used by the guest.  The SPAPR RTAS stub is
generated inline.  Also, nodes for RTAS are added to the device tree.

Signed-off-by: Matt Evans <matt@ozlabs.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/Makefile
tools/kvm/powerpc/kvm-cpu.c
tools/kvm/powerpc/kvm.c
tools/kvm/powerpc/spapr.h [new file with mode: 0644]
tools/kvm/powerpc/spapr_hcall.c [new file with mode: 0644]
tools/kvm/powerpc/spapr_rtas.c [new file with mode: 0644]