qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 05/22] hw/arm: Select VIRTIO_NET for virt machine


From: Paolo Bonzini
Subject: Re: [PATCH 05/22] hw/arm: Select VIRTIO_NET for virt machine
Date: Wed, 3 May 2023 16:00:01 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1

On 5/3/23 11:12, Alex Bennée wrote:
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

With respect to patches 5-17, very few devices need to be present when configuring --without-default-devices, and thus need to be "select"ed by Kconfig. You should select a device only if you cannot even start the machine without --nodefaults.

Anything else should be added by hand to configs/ if you use --nodefaults. In particular, failures of "make check" when configured --without-default-devices are *test* bugs, not configuration bugs.

I didn't check if _all_ of the patches in this set should be dropped, but most probably do.

Paolo




reply via email to

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