libqos: move useful qos-test funcs to qos_external
commitf62a0bff6a5266e7d434de2e1b01fb1f925a9796
authorAlexander Bulekov <alxndr@bu.edu>
Thu, 20 Feb 2020 04:11:07 +0000 (19 23:11 -0500)
committerStefan Hajnoczi <stefanha@redhat.com>
Sat, 22 Feb 2020 08:26:48 +0000 (22 08:26 +0000)
tree61213ef7985268d74b3d530ea1ececc8408b9fca
parent92ecf9be906edfbde10f651b9165e51c600924fc
libqos: move useful qos-test funcs to qos_external

The moved functions are not specific to qos-test and might be useful
elsewhere. For example the virtual-device fuzzer makes use of them for
qos-assisted fuzz-targets.

Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Message-id: 20200220041118.23264-12-alxndr@bu.edu
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
tests/qtest/Makefile.include
tests/qtest/libqos/qos_external.c [new file with mode: 0644]
tests/qtest/libqos/qos_external.h [new file with mode: 0644]
tests/qtest/qos-test.c