qos-test: virtio-rng test node
commita25f56aebec807c9c8f9c7c8c13d59ff4431773a
authorEmanuele Giuseppe Esposito <e.emanuelegiuseppe@gmail.com>
Thu, 26 Jul 2018 09:24:50 +0000 (26 11:24 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 7 Mar 2019 16:28:27 +0000 (7 17:28 +0100)
tree1ebbfdfaff88cec498d65f9bc418c7ea470e016e
parentd3d400d3df0146575a8af44382978f404d57def9
qos-test: virtio-rng test node

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

Some functions are implemented only for virtio-rng-pci, so they
don't consume virtio-rng, but virtio-rng-pci

Note that this test does not allocate any virtio-rng structure,
it's all done by the qtest walking graph mechanism

Signed-off-by: Emanuele Giuseppe Esposito <e.emanuelegiuseppe@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tests/Makefile.include
tests/virtio-rng-test.c