On 22/3/24 19:11, Paolo Bonzini wrote:
Board reset requires writing a fresh CPU state.  As far as KVM is
concerned, the only thing that blocks reset is that CPU state is
encrypted; therefore, kvm_cpus_are_resettable() can simply check
if that is the case.

Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>
---
  include/sysemu/kvm.h       | 10 ----------
  accel/kvm/kvm-accel-ops.c  |  2 +-
  accel/kvm/kvm-all.c        |  5 -----
  target/arm/kvm.c           |  5 -----
  target/i386/kvm/kvm.c      |  5 -----
  target/loongarch/kvm/kvm.c |  5 -----
  target/mips/kvm.c          |  5 -----
  target/ppc/kvm.c           |  5 -----
  target/riscv/kvm/kvm-cpu.c |  5 -----
  target/s390x/kvm/kvm.c     |  5 -----
  10 files changed, 1 insertion(+), 51 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>


Reply via email to