summaryrefslogtreecommitdiffstats
path: root/tests/avocado/info_usernet.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/avocado/info_usernet.py')
-rw-r--r--tests/avocado/info_usernet.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/avocado/info_usernet.py b/tests/avocado/info_usernet.py
index dc01f74150..b862a47dba 100644
--- a/tests/avocado/info_usernet.py
+++ b/tests/avocado/info_usernet.py
@@ -16,6 +16,7 @@ from qemu.utils import get_info_usernet_hostfwd_port
class InfoUsernet(QemuSystemTest):
def test_hostfwd(self):
+ self.require_netdev('user')
self.vm.add_args('-netdev', 'user,id=vnet,hostfwd=:127.0.0.1:0-:22')
self.vm.launch()
res = self.vm.command('human-monitor-command',