qemu-riscv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 6/6] tests/libqos: add riscv/virt machine nodes


From: Thomas Huth
Subject: Re: [PATCH 6/6] tests/libqos: add riscv/virt machine nodes
Date: Fri, 16 Feb 2024 11:58:24 +0100
User-agent: Mozilla Thunderbird

On 13/02/2024 20.17, Daniel Henrique Barboza wrote:
Add a RISC-V 'virt' machine to the graph. This implementation is a
modified copy of the existing arm machine in arm-virt-machine.c

It contains a virtio-mmio and a generic-pcihost controller. The
generic-pcihost controller hardcodes assumptions from the ARM 'virt'
machine, like ecam and pio_base addresses, so we'll add an extra step to
set its parameters after creating it.

Our command line is incremented with 'aclint' parameters to allow the
machine to run MSI tests.

Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
---
  tests/qtest/libqos/meson.build          |   1 +
  tests/qtest/libqos/riscv-virt-machine.c | 137 ++++++++++++++++++++++++
  2 files changed, 138 insertions(+)
  create mode 100644 tests/qtest/libqos/riscv-virt-machine.c

Acked-by: Thomas Huth <thuth@redhat.com>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]