]> git.ipfire.org Git - thirdparty/dracut-ng.git/commit
test: replace qemu nic model e1000 by virtio
authorBenjamin Drung <benjamin.drung@canonical.com>
Fri, 15 Nov 2024 10:59:44 +0000 (11:59 +0100)
committerLaszlo <laszlo.gombos@gmail.com>
Fri, 15 Nov 2024 12:26:05 +0000 (07:26 -0500)
commit0fca6f461c615ad9966bd1382b4185aa1b711aab
tree75ba2bc6a155c87247f69d75ef48c14c75f7ee45
parenteb1ae6c4f83663bfe87c835feaa649f272d780bb
test: replace qemu nic model e1000 by virtio

TEST-72-NBD fails on s390x with:

```
qemu-system-s390x: warning: hub port hub0port0 has no peer
qemu-system-s390x: warning: hub 0 with no nics
qemu-system-s390x: warning: netdev hub0port0 has no peer
qemu-system-s390x: warning: requested NIC (#net046, model e1000) was not created (not supported by this machine?)
```

The test uses the e1000 model, but s390x does not have it:

```
$ qemu-system-s390x -nic model=help
Available NIC models:
virtio
```

So replace the e1000 model by virtio, which is supported by most
architectures.

Fixes #953
test/TEST-60-NFS/test.sh
test/TEST-61-MULTINIC/test.sh
test/TEST-70-ISCSI/test.sh
test/TEST-71-ISCSI-MULTI/test.sh
test/TEST-72-NBD/test.sh