]> git.proxmox.com Git - mirror_qemu.git/commit - tests/Makefile.include
qos-test: vhost-user test node
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 15 Nov 2018 09:08:28 +0000 (10:08 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 7 Mar 2019 16:28:42 +0000 (17:28 +0100)
commita3ebd6e00aed2945784d24f8764b27b8bbb3fd3a
tree15af14df4208df8b8bd409585fd9a1cba0d314d8
parent0f9fe58009cfecc263d1eaf1146348abae0e40db
qos-test: vhost-user test node

Convert tests/virtio-net-test in qgraph test node,
virtio-net-test. This test consumes a virtio-net interface
and checks that its function return the expected values.

Note that this test does not allocate any virtio-net structure,
it's all done by the qtest walking graph mechanism.  Nevertheless,
vhost-user-test is a bit more complex than the other tests, because
it requires more complicated setup of back-ends and thus almost each
test has a slightly different opts.before function.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tests/Makefile.include
tests/vhost-user-test.c