[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 05/22] hw/arm: Select VIRTIO_NET for virt machine
From: |
Alex Bennée |
Subject: |
[PATCH 05/22] hw/arm: Select VIRTIO_NET for virt machine |
Date: |
Wed, 3 May 2023 10:12:27 +0100 |
From: Fabiano Rosas <farosas@suse.de>
The 'virt' machine uses virtio-net-pci as a fallback when no other
network driver has been selected via command line. Select VIRTIO_NET
and VIRTIO_PCI from CONFIG_ARM_VIRT to avoid errors when PCI_DEVICES=n
(due to e.g. --without-default-devices):
$ ./qemu-system-aarch64 -M virt -accel tcg -cpu max
qemu-system-aarch64: Unsupported NIC model: virtio-net-pci
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230208192654.8854-6-farosas@suse.de>
---
hw/arm/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
index 2d7c457955..4c23fbf800 100644
--- a/hw/arm/Kconfig
+++ b/hw/arm/Kconfig
@@ -32,6 +32,8 @@ config ARM_VIRT
select VIRTIO_MEM_SUPPORTED
select ACPI_CXL
select ACPI_HMAT
+ select VIRTIO_PCI
+ select VIRTIO_NET
config CHEETAH
bool
--
2.39.2
- [PATCH 00/22] testing/next: cirrus, docker, docs, ci, configs, gitlab, Alex Bennée, 2023/05/03
- [PATCH 01/22] gitlab/cirrus: reduce scope of the FreeBSD testing matrix, Alex Bennée, 2023/05/03
- [PATCH 05/22] hw/arm: Select VIRTIO_NET for virt machine,
Alex Bennée <=
- Re: [PATCH 05/22] hw/arm: Select VIRTIO_NET for virt machine, Paolo Bonzini, 2023/05/03
- Re: [PATCH 05/22] hw/arm: Select VIRTIO_NET for virt machine, Fabiano Rosas, 2023/05/03
- Re: [PATCH 05/22] hw/arm: Select VIRTIO_NET for virt machine, Alex Bennée, 2023/05/03
- Re: [PATCH 05/22] hw/arm: Select VIRTIO_NET for virt machine, Paolo Bonzini, 2023/05/03
- Re: [PATCH 05/22] hw/arm: Select VIRTIO_NET for virt machine, Peter Maydell, 2023/05/03
- Re: [PATCH 05/22] hw/arm: Select VIRTIO_NET for virt machine, Thomas Huth, 2023/05/04
- Re: [PATCH 05/22] hw/arm: Select VIRTIO_NET for virt machine, Alex Bennée, 2023/05/04
- Re: [PATCH 05/22] hw/arm: Select VIRTIO_NET for virt machine, Paolo Bonzini, 2023/05/04
- Re: [PATCH 05/22] hw/arm: Select VIRTIO_NET for virt machine, Fabiano Rosas, 2023/05/04
- Re: [PATCH 05/22] hw/arm: Select VIRTIO_NET for virt machine, Paolo Bonzini, 2023/05/08