qemu/target-ppc
David Gibson d569956eaf Add a hook to allow hypercalls to be emulated on PowerPC
PowerPC and POWER chips since the POWER4 and 970 have a special
hypervisor mode, and a corresponding form of the system call
instruction which traps to the hypervisor.

qemu currently has stub implementations of hypervisor mode.  That
is, the outline is there to allow qemu to run a PowerPC hypervisor
under emulation.  There are a number of details missing so this
won't actually work at present, but the idea is there.

What there is no provision at all, is for qemu to instead emulate
the hypervisor itself.  That is to have hypercalls trap into qemu
and their result be emulated from qemu, rather than running
hypervisor code within the emulated system.

Hypervisor hardware aware KVM implementations are in the works and
it would  be useful for debugging and development to also allow
full emulation of the same para-virtualized guests as such a KVM.

Therefore, this patch adds a hook which will allow a machine to
set up emulation of hypervisor calls.

Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
2011-04-01 18:34:54 +02:00
..
cpu.h Add a hook to allow hypercalls to be emulated on PowerPC 2011-04-01 18:34:54 +02:00
exec.h inline cpu_halted into sole caller 2011-03-13 14:44:21 +00:00
helper_regs.h Replace always_inline with inline 2009-08-16 09:06:54 +00:00
helper.c Add a hook to allow hypercalls to be emulated on PowerPC 2011-04-01 18:34:54 +02:00
helper.h Clean up PowerPC SLB handling code 2011-04-01 18:34:54 +02:00
kvm_ppc.c change all other clock references to use nanosecond resolution accessors 2011-03-21 09:23:23 +01:00
kvm_ppc.h KVM: PPC: Add level based interrupt logic 2010-09-05 11:50:48 +02:00
kvm.c Merge remote branch 'qemu-kvm/uq/master' into staging 2011-03-21 17:42:20 -05:00
machine.c KVM: Rework VCPU state writeback API 2010-03-04 00:29:28 -03:00
mfrom_table_gen.c find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
mfrom_table.c
op_helper.c Clean up PowerPC SLB handling code 2011-04-01 18:34:54 +02:00
STATUS Update PowerPC emulation status file. 2007-10-25 21:38:16 +00:00
translate_init.c Handle icount for powerpc tbl/tbu/decr load and store. 2011-02-16 15:35:32 +01:00
translate.c target-ppc: ext32u instead of andi with constant 2011-04-01 18:34:37 +02:00