The latest thread for supporting DISCARD and WRITE ZEROES feature for virtio-blk is here:
virtio_blk: add discard and write zeroes support https://lists.linuxfoundation.org/pipermail/virtualization/2018-October/039534.html I don't take further more steps about it, please go ahead and make the specification more clear, thanks. > -----Original Message----- > From: Michael S. Tsirkin [mailto:m...@redhat.com] > Sent: Wednesday, October 24, 2018 1:39 AM > To: Paolo Bonzini <pbonz...@redhat.com> > Cc: Liu, Changpeng <changpeng....@intel.com>; qemu-devel@nongnu.org; Harris, > James R <james.r.har...@intel.com>; Busch, Keith <keith.bu...@intel.com>; > f...@redhat.com; stefa...@gmail.com; stefa...@redhat.com > Subject: Re: [RFC v1] block/NVMe: introduce a new vhost NVMe host device to > QEMU > > On Tue, Jan 16, 2018 at 06:06:56PM +0100, Paolo Bonzini wrote: > > Second, virtio-based vhost-user remains QEMU's preferred method for > > high-performance I/O in guests. Discard support is missing and that is > > important for SSDs; that should be fixed in the virtio spec. > > BTW could you reply on the thread of the patch > virtio_blk: add discard and write zeroes support > > Christoph Hellwig thinks we should change the spec and defer > implementation until we do. What's your take on this? > > > -- > MST