Note: I removed my wrong e-mail address in CC. On Thu, Jan 17, 2019 at 10:24:16AM +0800, Changpeng Liu wrote: > Linux commit 1f23816b8 "virtio_blk: add discard and write zeroes support" > added the support in the Guest kernel, while here also enable the features > support with vhost-user-blk driver. Also enable the test example utility > with DISCARD and WRITE ZEROES commands. > > Signed-off-by: Changpeng Liu <changpeng....@intel.com> > --- > contrib/vhost-user-blk/vhost-user-blk.c | 134 > +++++++++++++++++++++------- > hw/block/vhost-user-blk.c | 4 + > include/standard-headers/linux/virtio_blk.h | 54 +++++++++++ > 3 files changed, 159 insertions(+), 33 deletions(-) >
Reviewed-by: Stefano Garzarella <sgarz...@redhat.com>