summaryrefslogtreecommitdiffstats
path: root/tests/acceptance
diff options
context:
space:
mode:
authorCleber Rosa2021-02-03 18:23:41 +0100
committerPhilippe Mathieu-Daudé2021-02-08 17:22:36 +0100
commit14a79778e17bb7e087101b00d6b1839dc7858f1e (patch)
treeaa95092541e256bf2d19eb3c76d1a2f16edfcae0 /tests/acceptance
parenttests/acceptance/virtiofs_submounts: do not ask for ssh key password (diff)
downloadqemu-14a79778e17bb7e087101b00d6b1839dc7858f1e.tar.gz
qemu-14a79778e17bb7e087101b00d6b1839dc7858f1e.tar.xz
qemu-14a79778e17bb7e087101b00d6b1839dc7858f1e.zip
tests/acceptance/virtiofs_submounts: use a virtio-net device instead
In a virtiofs based tests, it seems safe to assume that the guest will be capable of a virtio-net device. Signed-off-by: Cleber Rosa <crosa@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20210203172357.1422425-7-crosa@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'tests/acceptance')
-rw-r--r--tests/acceptance/virtiofs_submounts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/acceptance/virtiofs_submounts.py b/tests/acceptance/virtiofs_submounts.py
index 3b5a242385..f1b49f03bb 100644
--- a/tests/acceptance/virtiofs_submounts.py
+++ b/tests/acceptance/virtiofs_submounts.py
@@ -247,7 +247,7 @@ class VirtiofsSubmountsTest(BootLinux):
# Allow us to connect to SSH
self.vm.add_args('-netdev', 'user,id=vnet,hostfwd=:127.0.0.1:0-:22',
- '-device', 'e1000,netdev=vnet')
+ '-device', 'virtio-net,netdev=vnet')
if not kvm_available(self.arch, self.qemu_bin):
self.cancel(KVM_NOT_AVAILABLE)