aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest/vhost-user-test.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2025-02-03 13:43:46 +0100
committerFabiano Rosas <farosas@suse.de>2025-02-03 12:32:54 -0300
commitcd6406df15ed2216e70e34c45a4a82f42b55873f (patch)
tree8b42b9b034523f2be69307120a8f4456e939d6eb /tests/qtest/vhost-user-test.c
parentb5467913722a008eedeed71bccf20a38175a5818 (diff)
downloadqemu-cd6406df15ed2216e70e34c45a4a82f42b55873f.zip
qemu-cd6406df15ed2216e70e34c45a4a82f42b55873f.tar.gz
qemu-cd6406df15ed2216e70e34c45a4a82f42b55873f.tar.bz2
tests/qtest/vhost-user-test: Use modern virtio for vhost-user tests
All other vhost-user tests here use modern virtio, too, so let's adjust the vhost-user-net test accordingly. Signed-off-by: Thomas Huth <thuth@redhat.com> Message-ID: <20250203124346.169607-1-thuth@redhat.com> Reviewed-by: Fabiano Rosas <farosas@suse.de> Signed-off-by: Fabiano Rosas <farosas@suse.de>
Diffstat (limited to 'tests/qtest/vhost-user-test.c')
-rw-r--r--tests/qtest/vhost-user-test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/qtest/vhost-user-test.c b/tests/qtest/vhost-user-test.c
index 76d142a..bd977ef 100644
--- a/tests/qtest/vhost-user-test.c
+++ b/tests/qtest/vhost-user-test.c
@@ -1043,7 +1043,8 @@ static void test_multiqueue(void *obj, void *arg, QGuestAllocator *alloc)
static uint64_t vu_net_get_features(TestServer *s)
{
- uint64_t features = 0x1ULL << VHOST_F_LOG_ALL |
+ uint64_t features = 0x1ULL << VIRTIO_F_VERSION_1 |
+ 0x1ULL << VHOST_F_LOG_ALL |
0x1ULL << VHOST_USER_F_PROTOCOL_FEATURES;
if (s->queues > 1) {