[PATCH 01/14] subprojects: add the anyhow crate

2025-06-05 Thread Paolo Bonzini via
This is a standard replacement for Box which is more efficient (it only occcupies one word) and provides a backtrace of the error. This could be plumbed into &error_abort in the future. Reviewed-by: Zhao Liu Signed-off-by: Paolo Bonzini --- rust/meson.build | 2

[PULL 14/35] target/riscv: move satp_mode.{map, init} out of CPUConfig

2025-05-20 Thread Paolo Bonzini via
They are used to provide the nice QOM properties for svNN, but the canonical source of the CPU configuration is now cpu->cfg.max_satp_mode. Store them in the ArchCPU struct. Reviewed-by: Alistair Francis Signed-off-by: Paolo Bonzini --- target/riscv/cpu.h | 14 ++ target/riscv/

[PATCH 05/26] target/riscv: move satp_mode.{map, init} out of CPUConfig

2025-05-12 Thread Paolo Bonzini via
They are used to provide the nice QOM properties for svNN, but the canonical source of the CPU configuration is now cpu->cfg.max_satp_mode. Store them in the ArchCPU struct. Reviewed-by: Alistair Francis Signed-off-by: Paolo Bonzini --- target/riscv/cpu.h | 14 ++ target/riscv/

[PATCH 06/26] target/riscv: move satp_mode.{map, init} out of CPUConfig

2025-04-28 Thread Paolo Bonzini via
They are used to provide the nice QOM properties for svNN, but the canonical source of the CPU configuration is now cpu->cfg.max_satp_mode. Store them in the ArchCPU struct. Reviewed-by: Alistair Francis Signed-off-by: Paolo Bonzini --- target/riscv/cpu.h | 14 ++ target/riscv/

[PATCH 06/27] target/riscv: move satp_mode.{map, init} out of CPUConfig

2025-04-06 Thread Paolo Bonzini via
They are used to provide the nice QOM properties for svNN, but the canonical source of the CPU configuration is now cpu->cfg.max_satp_mode. Store them in the ArchCPU struct. Reviewed-by: Alistair Francis Signed-off-by: Paolo Bonzini --- target/riscv/cpu.h | 14 ++ target/riscv/