On 3/9/20 2:10 PM, Peter Maydell wrote:
On Mon, 9 Mar 2020 at 12:11, Philippe Mathieu-Daudé wrote:
cpu_reset() might modify architecture-specific fields allocated
by qemu_init_vcpu(). To avoid bugs similar to the one fixed in
commit 00d0f7cb66 when introducing new architectures, assert a
vCPU
On Mon, 9 Mar 2020 at 12:11, Philippe Mathieu-Daudé wrote:
>
> cpu_reset() might modify architecture-specific fields allocated
> by qemu_init_vcpu(). To avoid bugs similar to the one fixed in
> commit 00d0f7cb66 when introducing new architectures, assert a
> vCPU is created before resetting it.
>
cpu_reset() might modify architecture-specific fields allocated
by qemu_init_vcpu(). To avoid bugs similar to the one fixed in
commit 00d0f7cb66 when introducing new architectures, assert a
vCPU is created before resetting it.
Signed-off-by: Philippe Mathieu-Daudé
---
hw/core/cpu.c | 1 +
1 file