id = 2931 title = "riscv: satp invalid while kvm set to cpu host" state = "opened" created_at = "2025-04-25T08:43:40.505Z" closed_at = "n/a" labels = [] url = "https://gitlab.com/qemu-project/qemu/-/issues/2931" host-os = "Linux" host-arch = "riscv64" qemu-version = "any (master)" guest-os = "Any" guest-arch = "riscv64" description = """After boot, no "mmu-type" in dtb ``` cpu@0 { phandle = <0x7>; device_type = "cpu"; reg = <0x0>; status = "okay"; compatible = "riscv"; riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr", "zifencei", "zi bb"; riscv,isa-base = "rv64i"; riscv,isa = "rv64imafdc_zicntr_zicsr_zifencei_zihpm_zba_zbb"; interrupt-controller { #interrupt-cells = <0x1>; interrupt-controller; compatible = "riscv,cpu-intc"; phandle = <0x8>; }; }; ```""" reproduce = """1. boot any qemu with `-cpu host`""" additional = "n/a"