aboutsummaryrefslogtreecommitdiff
path: root/tcg/tci
diff options
context:
space:
mode:
authorThiago Jung Bauermann <bauerman@linux.ibm.com>2020-08-26 02:55:32 -0300
committerDavid Gibson <david@gibson.dropbear.id.au>2020-09-08 10:08:43 +1000
commit102ca9667d1e813c305ff84e6d07408258717ba9 (patch)
tree50432495aa49887493dcdefc9b300b7f427560ec /tcg/tci
parenta2c93f06cf63c29448f60285b7e103bc07cf014b (diff)
downloadqemu-102ca9667d1e813c305ff84e6d07408258717ba9.zip
qemu-102ca9667d1e813c305ff84e6d07408258717ba9.tar.gz
qemu-102ca9667d1e813c305ff84e6d07408258717ba9.tar.bz2
mips/cps: Use start-powered-off CPUState property
Instead of setting CPUState::halted to 1 in main_cpu_reset(), use the start-powered-off property which makes cpu_common_reset() initialize it to 1 in common code. Also change creation of CPU object from cpu_create() to object_new() and qdev_realize_and_unref() because cpu_create() realizes the CPU and it's not possible to set a property after the object is realized. Signed-off-by: Thiago Jung Bauermann <bauerman@linux.ibm.com> Message-Id: <20200826055535.951207-6-bauerman@linux.ibm.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tcg/tci')
0 files changed, 0 insertions, 0 deletions