[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to extend QEMU's vhost-user tests after implementing vhost-user-
From: |
Stefan Hajnoczi |
Subject: |
Re: How to extend QEMU's vhost-user tests after implementing vhost-user-blk device backend |
Date: |
Wed, 8 Jan 2020 16:56:12 +0000 |
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
> (/x86_64/pc/i440FX-pcihost/pci-bus-pc/pci-bus/vhost-user-blk-pci/vhost-user-blk/vhost-user-blk-tests/basic)
> as virtio-blk-deivce. But it fails the "indirect" test because
> libvhost-user doesn't support VIRTIO_RING_F_INDIRECT_DESC (indirect buffer
> descriptors), Would you suggest me to improve libvhost-user to
> support indirect buffer descriptors?
libvhost-user supports VIRTIO_RING_F_INDIRECT_DESC.
Please add VIRTIO_RING_F_INDIRECT_DESC to
contrib/libvhost-user/libvhost-user.c:vu_get_features_exec() so that all
libvhost-user applications automatically get indirect descriptor support.
Stefan
signature.asc
Description: PGP signature