tests/qtest: add a get_features op to vhost-user-test
commit19d55a19a4b9151f15eb5e2b5d0610aa2a738c7c
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 2 Aug 2022 09:50:09 +0000 (2 10:50 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 7 Oct 2022 13:41:51 +0000 (7 09:41 -0400)
tree341e85c4ce5e4cdab532684384fc57601db65b06
parentff070f602af6163b6ef4d803d5c3bde735035fed
tests/qtest: add a get_features op to vhost-user-test

As we expand this test for more virtio devices we will need to support
different feature sets. Add a mandatory op field to fetch the list of
features needed for the test itself.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20220802095010.3330793-22-alex.bennee@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tests/qtest/vhost-user-test.c