qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 13/26] KVM: remove kvm_arch_cpu_check_are_resettable


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 13/26] KVM: remove kvm_arch_cpu_check_are_resettable
Date: Mon, 25 Mar 2024 10:26:21 +0100
User-agent: Mozilla Thunderbird

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 <pbonzini@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é <philmd@linaro.org>




reply via email to

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