summary refs log tree commit diff stats
path: root/hw/timer/pxa2xx_timer.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2016-02-17 19:23:19 +0100
committerDavid Gibson <david@gibson.dropbear.id.au>2016-02-18 11:08:43 +1100
commit8a9c1b77e9df5b4a9fcc1ffe08b4fcff7b0c791f (patch)
tree6da243bccc358153c601ccfb3337297ac9452993 /hw/timer/pxa2xx_timer.c
parent1c81003accd70e79f1663ad4429435b4d3300d62 (diff)
downloadfocaccia-qemu-8a9c1b77e9df5b4a9fcc1ffe08b4fcff7b0c791f.tar.gz
focaccia-qemu-8a9c1b77e9df5b4a9fcc1ffe08b4fcff7b0c791f.zip
hw/ppc/spapr: Halt CPU when powering off via RTAS call
The LoPAPR specification defines the following for the RTAS
power-off call: "On successful operation, does not return".
However, the implementation in QEMU currently returns and runs
the guest CPU again for some more cycles. This caused some
trouble with the new ppc implementation of the kvm-unit-tests
recently. So let's make sure that the QEMU implementation
follows the spec, thus stop the CPU to make sure that the
RTAS call does not return to the guest anymore.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Tested-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/timer/pxa2xx_timer.c')
0 files changed, 0 insertions, 0 deletions