aboutsummaryrefslogtreecommitdiff
path: root/tests/libqos
diff options
context:
space:
mode:
authorEmanuele Giuseppe Esposito <e.emanuelegiuseppe@gmail.com>2018-07-18 17:18:46 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2019-03-07 17:28:27 +0100
commit1657291afd95f59dc3ef4c9545a7badf7dd75b35 (patch)
tree23d28298fa39a090108ca6eeff6651ef9ae7af37 /tests/libqos
parentb3e7dc877187073628ec090728fd1aa58ccd60c8 (diff)
downloadqemu-1657291afd95f59dc3ef4c9545a7badf7dd75b35.zip
qemu-1657291afd95f59dc3ef4c9545a7badf7dd75b35.tar.gz
qemu-1657291afd95f59dc3ef4c9545a7badf7dd75b35.tar.bz2
qos-test: virtio-console and virtio-serial test node
Convert tests/virtio-console-test and tests/virtio-serial-test in qgraph test node. This test consumes a virtio-serial interface and checks that its function return the expected values. Note that this test does not allocate any virtio-console or virtio-serial 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>
Diffstat (limited to 'tests/libqos')
-rw-r--r--tests/libqos/virtio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/libqos/virtio.c b/tests/libqos/virtio.c
index 5a62950..9fc8c7e 100644
--- a/tests/libqos/virtio.c
+++ b/tests/libqos/virtio.c
@@ -352,6 +352,7 @@ void qvirtqueue_set_used_event(QVirtQueue *vq, uint16_t idx)
/*
* qvirtio_get_dev_type:
* Returns: the preferred virtio bus/device type for the current architecture.
+ * TODO: delete this
*/
const char *qvirtio_get_dev_type(void)
{