]> git.proxmox.com Git - mirror_qemu.git/commit
KVM: remove kvm_arch_cpu_check_are_resettable
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 18 Mar 2024 18:41:33 +0000 (14:41 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 23 Apr 2024 15:35:25 +0000 (17:35 +0200)
commita99c0c66ebe7d8db3af6f16689ade9375247e43e
treef98b185a2212469c16c1a64fd42831a1e3f74184
parent5c3131c392f84c660033d511ec39872d8beb4b1e
KVM: remove kvm_arch_cpu_check_are_resettable

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.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
accel/kvm/kvm-accel-ops.c
accel/kvm/kvm-all.c
include/sysemu/kvm.h
target/arm/kvm.c
target/i386/kvm/kvm.c
target/loongarch/kvm/kvm.c
target/mips/kvm.c
target/ppc/kvm.c
target/riscv/kvm/kvm-cpu.c
target/s390x/kvm/kvm.c