On 23/5/23 13:04, Thomas Huth wrote:
These patches are required for running more tests with "make check"
on builds that use "--without-default-devices". By marking the
default NIC in the generic MachineClass, the main code can decide
whether the NIC is available in the binary or not, so the instantiation
can be skipped if it has not been compiled in.
See https://lore.kernel.org/qemu-devel/[email protected]/
and the other patches in that series for more information.
Thomas Huth (5):
hw/hppa: Use MachineClass->default_nic in the hppa machine
hw/alpha: Use MachineClass->default_nic in the alpha machine
hw/arm: Use MachineClass->default_nic in the virt machine
hw/loongarch64: Use MachineClass->default_nic in the virt machine
hw/xtensa: Use MachineClass->default_nic in the virt machine
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Tested-by: Philippe Mathieu-Daudé <[email protected]>