qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v16 14/99] accel: add cpu_reset


From: Richard Henderson
Subject: Re: [PATCH v16 14/99] accel: add cpu_reset
Date: Fri, 4 Jun 2021 14:23:53 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1

On 6/4/21 8:51 AM, Alex Bennée wrote:
From: Claudio Fontana<cfontana@suse.de>

in cpu_reset(), implemented in the common cpu.c,
add a call to a new accel_cpu_reset(), which ensures that the CPU accel
interface is also reset when the CPU is reset.

Use this first for x86/kvm, simply moving the kvm_arch_reset_vcpu() call.

Signed-off-by: Claudio Fontana<cfontana@suse.de>
Signed-off-by: Alex Bennée<alex.bennee@linaro.org>
---
  include/hw/core/accel-cpu.h | 2 ++
  include/qemu/accel.h        | 6 ++++++
  accel/accel-common.c        | 9 +++++++++
  hw/core/cpu-common.c        | 3 ++-
  target/i386/cpu.c           | 4 ----
  target/i386/kvm/kvm-cpu.c   | 6 ++++++
  6 files changed, 25 insertions(+), 5 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]