On 9/30/23 10:19, Salil Mehta wrote:
From: Jean-Philippe Brucker <jean-phili...@linaro.org> When a KVM vCPU is reset following a PSCI CPU_ON call, its power state is not synchronized with KVM at the moment. Because the vCPU is not marked dirty, we miss the call to kvm_arch_put_registers() that writes to KVM's MP_STATE. Force mp_state synchronization. Signed-off-by: Jean-Philippe Brucker <jean-phili...@linaro.org> Signed-off-by: Salil Mehta <salil.me...@huawei.com> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> --- target/arm/kvm.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
Reviewed-by: Gavin Shan <gs...@redhat.com>