OSDN Git Service

test: new qTest case to test the vhost-user-blk-server
authorCoiby Xu <coiby.xu@gmail.com>
Mon, 22 Mar 2021 09:23:25 +0000 (09:23 +0000)
committerKevin Wolf <kwolf@redhat.com>
Tue, 18 May 2021 10:57:38 +0000 (12:57 +0200)
commit806952026df41939680abe92b329715b9b4e01cc
tree568f8205474c3cd7bc076e54c2ca51fd9f022c36
parent1b0b2e6d06c26185ecc820e868e025c894f979f7
test: new qTest case to test the vhost-user-blk-server

This test case has the same tests as tests/virtio-blk-test.c except for
tests have block_resize. Since the vhost-user-blk export only serves one
client one time, two exports are started by qemu-storage-daemon for the
hotplug test.

Suggested-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Coiby Xu <coiby.xu@gmail.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20210309094106.196911-3-stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20210322092327.150720-2-stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
MAINTAINERS
tests/qtest/libqos/meson.build
tests/qtest/libqos/vhost-user-blk.c [new file with mode: 0644]
tests/qtest/libqos/vhost-user-blk.h [new file with mode: 0644]
tests/qtest/meson.build
tests/qtest/vhost-user-blk-test.c [new file with mode: 0644]