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> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
38ef383073
commit
14998e50c3
@ -1043,7 +1043,8 @@ static void test_multiqueue(void *obj, void *arg, QGuestAllocator *alloc)
|
|||||||
|
|
||||||
static uint64_t vu_net_get_features(TestServer *s)
|
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;
|
0x1ULL << VHOST_USER_F_PROTOCOL_FEATURES;
|
||||||
|
|
||||||
if (s->queues > 1) {
|
if (s->queues > 1) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user