tests/acceptance/virtiofs_submounts: use a virtio-net device instead
authorCleber Rosa <crosa@redhat.com>
Wed, 3 Feb 2021 17:23:41 +0000 (12:23 -0500)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Mon, 8 Feb 2021 16:22:36 +0000 (17:22 +0100)
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>
tests/acceptance/virtiofs_submounts.py

index 3b5a242385d671c4764e50ebca536ec994c9d4e8..f1b49f03bb5b8a6b519abcc9f6dc34674c498c3d 100644 (file)
@@ -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)