summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorEric Auger2022-02-10 15:52:50 +0100
committerThomas Huth2022-02-21 10:13:23 +0100
commitd24d1ad3c4681d4aa2c606374734ea8d89d7ef4d (patch)
treefbf971b860d61987a2162a738c5af6c82f768bc4 /tests
parenterst: drop cast to long long (diff)
downloadqemu-d24d1ad3c4681d4aa2c606374734ea8d89d7ef4d.tar.gz
qemu-d24d1ad3c4681d4aa2c606374734ea8d89d7ef4d.tar.xz
qemu-d24d1ad3c4681d4aa2c606374734ea8d89d7ef4d.zip
tests/qtest/vhost-user-test.c: Use vhostforce=on
-netdev vhost-user,vhostforce is deprecated and vhostforce=on should be used instead. Signed-off-by: Eric Auger <eric.auger@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20220210145254.157790-2-eric.auger@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/qtest/vhost-user-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/vhost-user-test.c b/tests/qtest/vhost-user-test.c
index 2a4568cd7d..ee30f54796 100644
--- a/tests/qtest/vhost-user-test.c
+++ b/tests/qtest/vhost-user-test.c
@@ -42,7 +42,7 @@
#define QEMU_CMD_MEMFD " -m %d -object memory-backend-memfd,id=mem,size=%dM," \
" -numa node,memdev=mem"
#define QEMU_CMD_CHR " -chardev socket,id=%s,path=%s%s"
-#define QEMU_CMD_NETDEV " -netdev vhost-user,id=hs0,chardev=%s,vhostforce"
+#define QEMU_CMD_NETDEV " -netdev vhost-user,id=hs0,chardev=%s,vhostforce=on"
#define HUGETLBFS_MAGIC 0x958458f6