diff options
author | Emanuele Giuseppe Esposito <e.emanuelegiuseppe@gmail.com> | 2018-07-18 17:18:46 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-03-07 17:28:27 +0100 |
commit | 1657291afd95f59dc3ef4c9545a7badf7dd75b35 (patch) | |
tree | 23d28298fa39a090108ca6eeff6651ef9ae7af37 /tests/libqos | |
parent | b3e7dc877187073628ec090728fd1aa58ccd60c8 (diff) | |
download | qemu-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.c | 1 |
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) { |