]> git.proxmox.com Git - qemu.git/commit
PPC: Add PV hypercall transport through fw_cfg
authorAlexander Graf <agraf@suse.de>
Tue, 3 Aug 2010 13:22:42 +0000 (15:22 +0200)
committerAlexander Graf <agraf@suse.de>
Thu, 26 Aug 2010 16:13:38 +0000 (18:13 +0200)
commit45024f094c223e8096f366520414cdf1a74dbff3
tree6e2931a361a98ea331cf36aff8f2bb25572f3efa
parent2446333cd5b5c985f6517dee7004e542ecacd21c
PPC: Add PV hypercall transport through fw_cfg

On KVM for PPC we need to tell the guest which instructions to use when
doing a hypercall. The clean way to do this is to go through an ioctl
from userspace and passing it on to the guest using the device tree.

So let's do the qemu part here: read out the hypercall and pass it on
to the guest's fw_cfg so openBIOS can read it out and expose it again.

Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc.h
hw/ppc_newworld.c
hw/ppc_oldworld.c
target-ppc/kvm.c
target-ppc/kvm_ppc.h