Ping
On 1/10/23 08:31, Daniel Henrique Barboza wrote:
Hi,
This series updates RISC-V QEMU caps that weren't being updated since
QEMU 5.0.0.
To do that I had to add a RISC-V stub driver in src/cpu to avoid test
failures after the caps update. This is a very bare-bone driver that
is basically a no-op.
I also took the opportunity to enable the RISC-V 'virt' machine type in
domaincapstest.c to increase the test coverage for the architecture.
Daniel Henrique Barboza (3):
src/cpu: add a basic RiscV64 cpu driver
tests: update RISC-V QEMU caps for QEMU 8.0.0
tests: add QEMU RISC-V "virt" machine in domaincapstest
src/cpu/cpu.c | 2 +
src/cpu/cpu_riscv64.c | 59 +
src/cpu/cpu_riscv64.h | 25 +
src/cpu/meson.build | 1 +
.../qemu_5.0.0-tcg-virt.riscv64.xml | 142 +
.../qemu_5.0.0-virt.riscv64.xml | 145 +
.../qemu_5.2.0-tcg-virt.riscv64.xml | 142 +
.../qemu_5.2.0-virt.riscv64.xml | 145 +
.../qemu_8.0.0-tcg-virt.riscv64.xml | 148 +
.../qemu_8.0.0-virt.riscv64.xml | 151 +
tests/domaincapstest.c | 14 +-
.../caps_8.0.0.riscv64.replies | 28554 ++++++++++++++++
.../caps_8.0.0.riscv64.xml | 157 +
...ult-video-type-riscv64.riscv64-latest.args | 11 +-
.../riscv64-virt-graphics.riscv64-latest.args | 45 +-
.../riscv64-virt-headless.riscv64-latest.args | 37 +-
tests/testutilshostcpus.h | 10 +
17 files changed, 29741 insertions(+), 47 deletions(-)
create mode 100644 src/cpu/cpu_riscv64.c
create mode 100644 src/cpu/cpu_riscv64.h
create mode 100644 tests/domaincapsdata/qemu_5.0.0-tcg-virt.riscv64.xml
create mode 100644 tests/domaincapsdata/qemu_5.0.0-virt.riscv64.xml
create mode 100644 tests/domaincapsdata/qemu_5.2.0-tcg-virt.riscv64.xml
create mode 100644 tests/domaincapsdata/qemu_5.2.0-virt.riscv64.xml
create mode 100644 tests/domaincapsdata/qemu_8.0.0-tcg-virt.riscv64.xml
create mode 100644 tests/domaincapsdata/qemu_8.0.0-virt.riscv64.xml
create mode 100644 tests/qemucapabilitiesdata/caps_8.0.0.riscv64.replies
create mode 100644 tests/qemucapabilitiesdata/caps_8.0.0.riscv64.xml