Re: [PATCH v2] virtio-blk: Respect discard granularity

2021-02-23 Thread Stefano Garzarella
On Tue, Feb 23, 2021 at 02:36:16PM +0900, Akihiko Odaki wrote: Signed-off-by: Akihiko Odaki --- hw/block/virtio-blk.c | 8 +++- hw/core/machine.c | 9 - include/hw/virtio/virtio-blk.h | 1 + 3 files changed, 16 insertions(+), 2 deletions(-) diff --git

[PATCH v2] virtio-blk: Respect discard granularity

2021-02-22 Thread Akihiko Odaki
Signed-off-by: Akihiko Odaki --- hw/block/virtio-blk.c | 8 +++- hw/core/machine.c | 9 - include/hw/virtio/virtio-blk.h | 1 + 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/hw/block/virtio-blk.c b/hw/block/virtio-blk.c index