Re: [PATCH for-5.2 01/10] test: new qTest case to test the vhost-user-blk-server

2020-12-18 Thread Coiby Xu
On Mon, Dec 07, 2020 at 11:28:38AM +, Stefan Hajnoczi wrote: On Wed, Nov 25, 2020 at 04:28:20PM +0800, Coiby Xu wrote: On Wed, Nov 25, 2020 at 04:20:56PM +0800, Coiby Xu wrote: > On Wed, Nov 11, 2020 at 12:43:22PM +, Stefan Hajnoczi wrote: > > +static void quit_storage_daemon(void *qmp_t

Re: [PATCH for-5.2 01/10] test: new qTest case to test the vhost-user-blk-server

2020-12-07 Thread Stefan Hajnoczi
On Wed, Nov 25, 2020 at 04:28:20PM +0800, Coiby Xu wrote: > On Wed, Nov 25, 2020 at 04:20:56PM +0800, Coiby Xu wrote: > > On Wed, Nov 11, 2020 at 12:43:22PM +, Stefan Hajnoczi wrote: > > > +static void quit_storage_daemon(void *qmp_test_state) > > > +{ > > > +const char quit_str[] = "{ 'exe

Re: [PATCH for-5.2 01/10] test: new qTest case to test the vhost-user-blk-server

2020-11-25 Thread Coiby Xu
On Wed, Nov 25, 2020 at 04:20:56PM +0800, Coiby Xu wrote: On Wed, Nov 11, 2020 at 12:43:22PM +, Stefan Hajnoczi wrote: From: 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

Re: [PATCH for-5.2 01/10] test: new qTest case to test the vhost-user-blk-server

2020-11-25 Thread Coiby Xu
On Wed, Nov 11, 2020 at 12:43:22PM +, Stefan Hajnoczi wrote: From: 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 vhost-user-blk-server are started by qem

[PATCH for-5.2 01/10] test: new qTest case to test the vhost-user-blk-server

2020-11-11 Thread Stefan Hajnoczi
From: 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 vhost-user-blk-server are started by qemu-storage-daemon for the hotplug test. In order to not block scrip