diff mbox series

[14/22] hw/loongarch: add VIRTIO as a dependency for LOONGARCH_VIRT

Message ID 20230503091244.1450613-15-alex.bennee@linaro.org
State New
Headers show
Series testing/next: cirrus, docker, docs, ci, configs, gitlab | expand

Commit Message

Alex Bennée May 3, 2023, 9:12 a.m. UTC
These are needed for board creation so fail under "make check" with a
--without-default-devices build.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 hw/loongarch/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

Comments

Richard Henderson May 3, 2023, 10:27 a.m. UTC | #1
On 5/3/23 10:12, Alex Bennée wrote:
> These are needed for board creation so fail under "make check" with a
> --without-default-devices build.
> 
> Signed-off-by: Alex Bennée<alex.bennee@linaro.org>
> ---
>   hw/loongarch/Kconfig | 2 ++
>   1 file changed, 2 insertions(+)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~
Paolo Bonzini May 3, 2023, 5:18 p.m. UTC | #2
On 5/3/23 11:12, Alex Bennée wrote:
> These are needed for board creation so fail under "make check" with a
> --without-default-devices build.
> 
> Signed-off-by: Alex Bennée<alex.bennee@linaro.org>

Also not needed:

bus: main-system-bus
   type System
   dev: platform-bus-device, id "platform-bus-device"
   dev: acpi-ged, id ""
   dev: ls7a_rtc, id ""
   dev: unimplemented-device, id ""
   dev: serial-mm, id ""
   dev: gpex-pcihost, id ""
     bus: pcie.0
       type PCIE
       dev: gpex-root, id ""
   dev: loongarch_pch_msi, id ""
   dev: loongarch_pch_pic, id ""
   dev: loongarch.extioi, id ""
   dev: loongarch_ipi, id ""
   dev: fw_cfg_mem, id ""


Paolo
diff mbox series

Patch

diff --git a/hw/loongarch/Kconfig b/hw/loongarch/Kconfig
index eb112af990..74d8449100 100644
--- a/hw/loongarch/Kconfig
+++ b/hw/loongarch/Kconfig
@@ -21,3 +21,5 @@  config LOONGARCH_VIRT
     select FW_CFG_DMA
     select DIMM
     select PFLASH_CFI01
+    select VIRTIO_PCI
+    select VIRTIO_NET