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

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

 



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

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@xxxxxxx>
Signed-off-by: Alex Bennée<alex.bennee@xxxxxxxxxx>
---
  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@xxxxxxxxxx>

r~



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux