hw/ppc/spapr: Add h_set_sprg0 hypercall
commit423576f771db8c6dbb944ddb8dc15b472f62de4a
authorThomas Huth <thuth@redhat.com>
Thu, 11 Feb 2016 12:47:18 +0000 (11 13:47 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 16 Feb 2016 22:59:30 +0000 (17 09:59 +1100)
tree3d6a02fcd670b7d83ee5bcb42a57b6c13ac1707a
parent378bc21756f016abfde16a0de4977be49f499b1c
hw/ppc/spapr: Add h_set_sprg0 hypercall

This is a very simple hypercall that only sets up the SPRG0
register for the guest (since writing to SPRG0 was only permitted
to the hypervisor in older versions of the PowerISA).

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr_hcall.c