Re: [PATCH v3 1/3] target/riscv: add CPU QOM header

2023-04-16 Thread Alistair Francis
On Wed, Apr 12, 2023 at 4:36 AM 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 quer

[PATCH v3 1/3] target/riscv: add CPU QOM header

2023-04-11 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-