[PATCH 16/22] hw/mips: add VIRTIO and USB dependencies for LOONGSON3V

Alex Bennée posted 22 patches 2 years, 7 months ago
Maintainers: "Alex Bennée" <alex.bennee@linaro.org>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Thomas Huth <thuth@redhat.com>, Wainer dos Santos Moschetta <wainersm@redhat.com>, Beraldo Leal <bleal@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, Peter Maydell <peter.maydell@linaro.org>, Helge Deller <deller@gmx.de>, Xiaojuan Yang <yangxiaojuan@loongson.cn>, Song Gao <gaosong@loongson.cn>, Yoshinori Sato <ysato@users.sourceforge.jp>, Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>, Artyom Tarasenko <atar4qemu@gmail.com>, Gerd Hoffmann <kraxel@redhat.com>, Max Filippov <jcmvbkbc@gmail.com>, Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru>, Paolo Bonzini <pbonzini@redhat.com>, Cleber Rosa <crosa@redhat.com>, Laurent Vivier <lvivier@redhat.com>
[PATCH 16/22] hw/mips: add VIRTIO and USB dependencies for LOONGSON3V
Posted by Alex Bennée 2 years, 7 months ago
These are hardwired into the board so must be selected. This shows up
as a "make check" failure with a --without-default-devices build.

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

diff --git a/hw/mips/Kconfig b/hw/mips/Kconfig
index da3a37e215..0fcc3da41c 100644
--- a/hw/mips/Kconfig
+++ b/hw/mips/Kconfig
@@ -45,6 +45,9 @@ config LOONGSON3V
     select PCI_EXPRESS_GENERIC_BRIDGE
     select MSI_NONBROKEN
     select FW_CFG_MIPS
+    select VIRTIO_PCI
+    select VIRTIO_NET
+    select USB_OHCI_PCI
 
 config MIPS_CPS
     bool
-- 
2.39.2


Re: [PATCH 16/22] hw/mips: add VIRTIO and USB dependencies for LOONGSON3V
Posted by Paolo Bonzini 2 years, 7 months ago
On 5/3/23 11:12, Alex Bennée wrote:
> These are hardwired into the board so must be selected. This shows up
> as a "make check" failure with a --without-default-devices build.
> 
> Signed-off-by: Alex Bennée<alex.bennee@linaro.org>
> ---
>   hw/mips/Kconfig | 3 +++
>   1 file changed, 3 insertions(+)
> 
> diff --git a/hw/mips/Kconfig b/hw/mips/Kconfig
> index da3a37e215..0fcc3da41c 100644
> --- a/hw/mips/Kconfig
> +++ b/hw/mips/Kconfig
> @@ -45,6 +45,9 @@ config LOONGSON3V
>       select PCI_EXPRESS_GENERIC_BRIDGE
>       select MSI_NONBROKEN
>       select FW_CFG_MIPS
> +    select VIRTIO_PCI
> +    select VIRTIO_NET
> +    select USB_OHCI_PCI

Neither is needed by -nodefaults.

Paolo