Hi, In this version I rolled back on the riscv_cpu_reset_hold() changes made in patch 1. Peter made an argument about keeping the design the same across architectures and I agreed. Patches 2 and 3 are already taking care of everything that KVM needs during reset, thus this doesn't incur in any functional changes.
Drew said it was ok to keep his ack on patch 1 so his ack is kept. Patches based on alistair/riscv-to-apply.next. All patches acked. Changes from v2: - patch 1: - do not do an early exit in riscv_cpu_reset_hold() if kvm_enabled() - v2 link: https://lore.kernel.org/qemu-riscv/20250221122623.495188-1-dbarb...@ventanamicro.com/ Daniel Henrique Barboza (3): target/riscv/cpu: remove unneeded !kvm_enabled() check target/riscv/kvm: add kvm_riscv_reset_regs_csr() target/riscv/kvm: add missing KVM CSRs target/riscv/kvm/kvm-cpu.c | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) -- 2.48.1