Skip to content

tests/qemu: move away from -nic to -netdev

Martin Roukala requested to merge qemu_test_fix into master

For some reason, on QEmu 7.0, using -nic user,model=virtio-net-pci creates the right network card, but not internet connectivity...

Removing model=virtio-net-pci fixes the issue, but so does moving away from -nic, and instead use the more verbose -netdev and -device combo. For performance reasons, let's use the latter!

Merge request reports