Re: How to extend QEMU's vhost-user tests after implementing vhost-user-blk device backend

2020-01-08 Thread Stefan Hajnoczi
On Sat, Jan 04, 2020 at 02:00:02PM +0800, Coiby Xu wrote: > Thank you for the advice! I've skipped test cases regarding resizing the > disk. The remaining tests are "indirect" and "basic". vhost-user-blk device > has now passed the "basic" test >

Re: How to extend QEMU's vhost-user tests after implementing vhost-user-blk device backend

2020-01-03 Thread Coiby Xu
Thank you for the advice! I've skipped test cases regarding resizing the disk. The remaining tests are "indirect" and "basic". vhost-user-blk device has now passed the "basic" test (/x86_64/pc/i440FX-pcihost/pci-bus-pc/pci-bus/vhost-user-blk-pci/vhost-user-blk/vhost-user-blk-tests/basic) as

Re: How to extend QEMU's vhost-user tests after implementing vhost-user-blk device backend

2019-12-13 Thread Stefan Hajnoczi
On Wed, Dec 11, 2019 at 11:25:32PM +0800, Coiby Xu wrote: > I'm now writing the tests for vhost-user-blk device based on > tests/virtio-blk-test.c. But block_resize command doesn't apply to > vhost-user-blk device. > > After launching vhost-user backend server, I type the following > command to

Re: How to extend QEMU's vhost-user tests after implementing vhost-user-blk device backend

2019-12-11 Thread Coiby Xu
Hi Stefan, I'm now writing the tests for vhost-user-blk device based on tests/virtio-blk-test.c. But block_resize command doesn't apply to vhost-user-blk device. After launching vhost-user backend server, I type the following command to connect to it (qemu) chardev-add

Re: How to extend QEMU's vhost-user tests after implementing vhost-user-blk device backend

2019-11-14 Thread Stefan Hajnoczi
On Wed, Nov 13, 2019 at 05:23:46PM +0800, Coiby Xu wrote: > I've implemented vhost-user-blk device backend by following > https://wiki.qemu.org/Google_Summer_of_Code_2019#vhost-user-blk_device_backend. > But I'm not sure what kind of tests I should write or to extend to > take advantage of

How to extend QEMU's vhost-user tests after implementing vhost-user-blk device backend

2019-11-13 Thread Coiby Xu
Hi, I've implemented vhost-user-blk device backend by following https://wiki.qemu.org/Google_Summer_of_Code_2019#vhost-user-blk_device_backend. But I'm not sure what kind of tests I should write or to extend to take advantage of implemented vhost-user-blk device backend. The existing two tests