vhost-user-blk: make it possible to disable write-zeroes/discard
commit246db16d43b664d7fbf1993858fe193feb712978
authorDaniil Tatianin <d-tatianin@yandex-team.ru>
Tue, 6 Sep 2022 07:31:09 +0000 (6 10:31 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 7 Oct 2022 13:41:51 +0000 (7 09:41 -0400)
treedda11147ad9a4b89b1ad15bd3c88243301fe6c4f
parentd9cf55a86d315efc9fa07daad72f74f769555183
vhost-user-blk: make it possible to disable write-zeroes/discard

It is useful to have the ability to disable these features for
compatibility with older VMs that don't have these implemented.

Signed-off-by: Daniil Tatianin <d-tatianin@yandex-team.ru>
Reviewed-by: Raphael Norwitz <raphael.norwitz@nutanix.com>
Message-Id: <20220906073111.353245-4-d-tatianin@yandex-team.ru>
Reviewed-by: Raphael Norwitz <raphael.norwitz@nutanix.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/block/vhost-user-blk.c