Thiago Jung Bauermann 86c5e6aba6 target/s390x: Use start-powered-off CPUState property
Instead of setting CPUState::halted to 1 in s390_cpu_initfn(), use the
start-powered-off property which makes cpu_common_reset() initialize it
to 1 in common code.

Note that this changes behavior by setting cs->halted to 1 on reset, which
didn't happen before.

Acked-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
Message-Id: <20200826055535.951207-9-bauerman@linux.ibm.com>
[dwg: Fix from Laurent Vivier for user only case]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2020-09-08 10:08:43 +10:00
..
2020-08-21 06:30:35 -04:00
2020-08-21 06:30:35 -04:00
2020-08-21 06:30:35 -04:00
2020-08-21 06:30:35 -04:00
2020-08-21 06:30:35 -04:00
2020-08-21 06:30:35 -04:00
2020-08-21 06:30:35 -04:00
2020-08-21 06:30:35 -04:00
2020-08-21 06:30:35 -04:00
2020-09-01 08:34:08 +02:00
2020-09-02 07:29:25 -04:00
2020-09-01 08:38:41 +02:00
2020-08-21 06:30:35 -04:00
2020-08-21 06:30:35 -04:00
2020-08-21 06:30:35 -04:00
2020-08-21 06:30:35 -04:00
2020-08-21 12:56:45 -07:00
2020-08-21 06:30:35 -04:00