Re: [PATCH v8 4/4] new qTest case to test the vhost-user-blk-server

2020-06-05 Thread Coiby Xu
On Fri, Jun 05, 2020 at 11:25:26AM +0200, Thomas Huth wrote: On 05/06/2020 08.22, Coiby Xu wrote: On Fri, Jun 05, 2020 at 07:01:33AM +0200, Thomas Huth wrote: diff --git a/tests/qtest/libqos/vhost-user-blk.h b/tests/qtest/libqos/vhost-user-blk.h new file mode 100644 index 00..ef4ef09cca

Re: [PATCH v8 4/4] new qTest case to test the vhost-user-blk-server

2020-06-05 Thread Thomas Huth
On 05/06/2020 08.22, Coiby Xu wrote: > On Fri, Jun 05, 2020 at 07:01:33AM +0200, Thomas Huth wrote: >>> diff --git a/tests/qtest/libqos/vhost-user-blk.h >>> b/tests/qtest/libqos/vhost-user-blk.h >>> new file mode 100644 >>> index 00..ef4ef09cca >>> --- /dev/null >>> +++ b/tests/qtest/libqos

Re: [PATCH v8 4/4] new qTest case to test the vhost-user-blk-server

2020-06-04 Thread Coiby Xu
On Fri, Jun 05, 2020 at 07:01:33AM +0200, Thomas Huth wrote: diff --git a/tests/qtest/libqos/vhost-user-blk.h b/tests/qtest/libqos/vhost-user-blk.h new file mode 100644 index 00..ef4ef09cca --- /dev/null +++ b/tests/qtest/libqos/vhost-user-blk.h @@ -0,0 +1,44 @@ +/* + * libqos driver fra

Re: [PATCH v8 4/4] new qTest case to test the vhost-user-blk-server

2020-06-04 Thread Thomas Huth
On 05/06/2020 01.35, Coiby Xu wrote: > This test case has the same tests as tests/virtio-blk-test.c except for > tests have block_resize. Since vhost-user server can only server one > client one time, two instances of qemu-storage-daemon are launched > for the hotplug test. > > In order to not blo

[PATCH v8 4/4] new qTest case to test the vhost-user-blk-server

2020-06-04 Thread Coiby Xu
This test case has the same tests as tests/virtio-blk-test.c except for tests have block_resize. Since vhost-user server can only server one client one time, two instances of qemu-storage-daemon are launched for the hotplug test. In order to not block scripts/tap-driver.pl, vhost-user-blk-server w