Re: [PATCH v2 1/4] target/riscv: add CPU QOM header

2023-04-10 Thread Richard Henderson
On 4/10/23 09:52, Daniel Henrique Barboza wrote: QMP CPU commands are usually implemented by a separated file, -qmp-cmds.c, to allow them to be build only for softmmu targets. This file uses a CPU QOM header with basic QOM declarations for the arch. We'll introduce query-cpu-definitions for RISC

[PATCH v2 1/4] target/riscv: add CPU QOM header

2023-04-10 Thread Daniel Henrique Barboza
QMP CPU commands are usually implemented by a separated file, -qmp-cmds.c, to allow them to be build only for softmmu targets. This file uses a CPU QOM header with basic QOM declarations for the arch. We'll introduce query-cpu-definitions for RISC-V CPUs in the next patch, but first we need a cpu-