]> Git Repo - qemu.git/commit
spapr_rtas: Abstract rtas_query_cpu_stopped_state() with qemu_get_cpu()
authorAndreas Färber <[email protected]>
Wed, 29 May 2013 19:03:31 +0000 (21:03 +0200)
committerAndreas Färber <[email protected]>
Wed, 12 Jun 2013 21:43:26 +0000 (23:43 +0200)
commit05318a858c1212d845d03f924e6ab5f22ab51ab6
tree23c1ef0d000306ac321a287ca2e205a93029f708
parent11ed09cf0753c1288a97f00138fc4534135442bb
spapr_rtas: Abstract rtas_query_cpu_stopped_state() with qemu_get_cpu()

Instead of looping over all CPUArchState, use a helper to obtain the
desired CPUState directly. Saves a CPUPPCState variable and QOM cast.

Signed-off-by: Andreas Färber <[email protected]>
hw/ppc/spapr_rtas.c
This page took 0.02513 seconds and 4 git commands to generate.