4c1608caa4
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> Acked-by: Alistair Francis <alistair.francis@wdc.com> Acked-by: Thomas Huth <thuth@redhat.com> Message-ID: <20240217192607.32565-7-dbarboza@ventanamicro.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
75 lines
1.6 KiB
Meson
75 lines
1.6 KiB
Meson
libqos_srcs = files(
|
|
'../libqtest.c',
|
|
'../libqmp.c',
|
|
|
|
'qgraph.c',
|
|
'qos_external.c',
|
|
'pci.c',
|
|
'fw_cfg.c',
|
|
'libqos-malloc.c',
|
|
'libqos.c',
|
|
'sdhci-cmd.c',
|
|
|
|
# spapr
|
|
'malloc-spapr.c',
|
|
'libqos-spapr.c',
|
|
'rtas.c',
|
|
'pci-spapr.c',
|
|
|
|
# pc
|
|
'pci-pc.c',
|
|
'malloc-pc.c',
|
|
'libqos-pc.c',
|
|
'ahci.c',
|
|
|
|
# usb
|
|
'usb.c',
|
|
|
|
# qgraph devices:
|
|
'e1000e.c',
|
|
'i2c.c',
|
|
'i2c-imx.c',
|
|
'i2c-omap.c',
|
|
'igb.c',
|
|
'sdhci.c',
|
|
'tpci200.c',
|
|
'virtio.c',
|
|
'virtio-balloon.c',
|
|
'virtio-blk.c',
|
|
'vhost-user-blk.c',
|
|
'virtio-mmio.c',
|
|
'virtio-net.c',
|
|
'virtio-pci.c',
|
|
'virtio-pci-modern.c',
|
|
'virtio-rng.c',
|
|
'virtio-scsi.c',
|
|
'virtio-serial.c',
|
|
'virtio-iommu.c',
|
|
'virtio-gpio.c',
|
|
'virtio-scmi.c',
|
|
'generic-pcihost.c',
|
|
|
|
# qgraph machines:
|
|
'aarch64-xlnx-zcu102-machine.c',
|
|
'arm-imx25-pdk-machine.c',
|
|
'arm-n800-machine.c',
|
|
'arm-raspi2-machine.c',
|
|
'arm-sabrelite-machine.c',
|
|
'arm-smdkc210-machine.c',
|
|
'arm-virt-machine.c',
|
|
'arm-xilinx-zynq-a9-machine.c',
|
|
'ppc64_pseries-machine.c',
|
|
'x86_64_pc-machine.c',
|
|
'riscv-virt-machine.c',
|
|
)
|
|
|
|
if have_virtfs
|
|
libqos_srcs += files('virtio-9p.c', 'virtio-9p-client.c')
|
|
endif
|
|
|
|
libqos = static_library('qos', libqos_srcs + genh,
|
|
name_suffix: 'fa',
|
|
build_by_default: false)
|
|
|
|
qos = declare_dependency(link_whole: libqos)
|