Skip to content
Commit f2de37a5 authored by Björn Töpel's avatar Björn Töpel Committed by Michael S. Tsirkin
Browse files

riscv, qemu_fw_cfg: Add support for RISC-V architecture



Qemu fw_cfg support was missing for RISC-V, which made it hard to do
proper vmcore dumps from qemu.

Add the missing RISC-V arch-defines.

You can now do vmcore dumps from qemu. Add "-device vmcoreinfo" to the
qemu command-line. From the qemu monitor:
  (qemu) dump-guest-memory vmcore

The vmcore can now be used, e.g., with the "crash" utility.

Acked-by: default avatar"Michael S. Tsirkin" <mst@redhat.com>
Acked-by: default avatarAlistair Francis <alistair.francis@wdc.com>
Tested-by: default avatarClément Léger <cleger@rivosinc.com>
Signed-off-by: default avatarBjörn Töpel <bjorn@rivosinc.com>
Message-Id: <20231012102852.234442-1-bjorn@kernel.org>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent 0d824102
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment