commit | 05318a858c1212d845d03f924e6ab5f22ab51ab6 | [log] [tgz] |
---|---|---|
author | Andreas Färber <afaerber@suse.de> | Wed May 29 21:03:31 2013 +0200 |
committer | Andreas Färber <afaerber@suse.de> | Wed Jun 12 23:43:26 2013 +0200 |
tree | 23c1ef0d000306ac321a287ca2e205a93029f708 | |
parent | 11ed09cf0753c1288a97f00138fc4534135442bb [diff] |
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 <afaerber@suse.de>