Re: [PATCH Libvirt 1/3] qemu_capabilities: Introduce virtio-blk DISCARD and WRITE_ZEROES capabilities

2023-07-19 Thread Michal Prívozník
On 7/17/23 21:43, Jonathon Jongsma wrote: > I believe that qemu 4.2.0 is the oldest version of qemu that we still > support, so I don't think that a new capability would actually be > necessary for this. Just for completeness, since Hyman is new contributor: this fact Jonathon mentions is necessar

Re: [PATCH Libvirt 1/3] qemu_capabilities: Introduce virtio-blk DISCARD and WRITE_ZEROES capabilities

2023-07-17 Thread Jonathon Jongsma
I believe that qemu 4.2.0 is the oldest version of qemu that we still support, so I don't think that a new capability would actually be necessary for this. Jonathon On 7/16/23 8:41 AM, ~hyman wrote: From: Hyman Huang(黄勇) DISCARD and WRITE_ZEROES commands has been implemented in virtio-blk

[PATCH Libvirt 1/3] qemu_capabilities: Introduce virtio-blk DISCARD and WRITE_ZEROES capabilities

2023-07-17 Thread ~hyman
From: Hyman Huang(黄勇) DISCARD and WRITE_ZEROES commands has been implemented in virtio-blk protocol since qemu >= 4.2.0. Introduce QEMU_CAPS_VIRTIO_BLK_DISCARD and QEMU_CAPS_VIRTIO_BLK_WRITE_ZEROES capability definitions. Signed-off-by: Hyman Huang(黄勇) --- src/qemu/qemu_capabilities.c