提交 bb8b9f83 编写于 作者: X Xu Han 提交者: GitHub

Merge pull request #1071 from huangwei/wei/tp-qemu-test-aarch64-zero_copy

zero_copy: Check nettype for zero_copy test
......@@ -52,6 +52,9 @@ def run(test, params, env):
enable_zerocopytx_in_host(False)
error.context("Boot vm with 'vhost=on'", logging.info)
if params.get("nettype") == "user":
test.cancel("Unable start test with user networking, please "
"change nettype.")
params["vhost"] = "vhost=on"
params["start_vm"] = 'yes'
login_timeout = int(params.get("login_timeout", 360))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册