]> git.proxmox.com Git - mirror_qemu.git/commit
tests/qtest: enable tests for virtio-gpio
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 2 Aug 2022 09:50:10 +0000 (10:50 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 7 Oct 2022 13:41:51 +0000 (09:41 -0400)
commit8fcfc8235e43649cd4045c815abdaac078cff9c2
treefaeb2fe544514fad8a16b4294ba22ded1b83aadd
parent19d55a19a4b9151f15eb5e2b5d0610aa2a738c7c
tests/qtest: enable tests for virtio-gpio

We don't have a virtio-gpio implementation in QEMU and only
support a vhost-user backend. The QEMU side of the code is minimal so
it should be enough to instantiate the device and pass some vhost-user
messages over the control socket. To do this we hook into the existing
vhost-user-test code and just add the bits required for gpio.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Eric Auger <eric.auger@redhat.com>
Message-Id: <20220408155704.2777166-1-alex.bennee@linaro.org>

Message-Id: <20220802095010.3330793-23-alex.bennee@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
MAINTAINERS
tests/qtest/libqos/meson.build
tests/qtest/libqos/virtio-gpio.c [new file with mode: 0644]
tests/qtest/libqos/virtio-gpio.h [new file with mode: 0644]
tests/qtest/libqos/virtio.c
tests/qtest/vhost-user-test.c