diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-02-18 12:00:14 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-05-20 08:04:19 +0200 |
| commit | 82c81c07e83670befc61333e0bdf3d810e581219 (patch) | |
| tree | 5714c002200ecf14cf00047db9472a6a16229fc3 /rust/qemu-api/src | |
| parent | 7f2131c35c1781ca41c62dc26fd93282e1351323 (diff) | |
| download | focaccia-qemu-82c81c07e83670befc61333e0bdf3d810e581219.tar.gz focaccia-qemu-82c81c07e83670befc61333e0bdf3d810e581219.zip | |
hw/riscv: acpi: only create RHCT MMU entry for supported types
Do not create the RHCT MMU type entry for RV32 CPUs, since it only has definitions for SV39/SV48/SV57. Likewise, check that satp_mode_max_from_map() will actually return a valid value, skipping the MMU type entry if all MMU types were disabled on the command line. Acked-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/qemu-api/src')
0 files changed, 0 insertions, 0 deletions