summaryrefslogtreecommitdiffstats
path: root/scripts/qapi/error.py
diff options
context:
space:
mode:
authorAkihiko Odaki2021-02-25 01:12:39 +0100
committerStefan Hajnoczi2021-03-15 10:48:53 +0100
commitfb0b154c801e3447e505de420195fb7038695941 (patch)
treea060af2e30b44fddad72be77331c4dad8ca12b61 /scripts/qapi/error.py
parentMerge remote-tracking branch 'remotes/vivier2/tags/linux-user-for-6.0-pull-re... (diff)
downloadqemu-fb0b154c801e3447e505de420195fb7038695941.tar.gz
qemu-fb0b154c801e3447e505de420195fb7038695941.tar.xz
qemu-fb0b154c801e3447e505de420195fb7038695941.zip
virtio-blk: Respect discard granularity
Report the configured granularity for discard operation to the guest. If this is not set use the block size. Since until now we have ignored the configured discard granularity and always reported the block size, let's add 'report-discard-granularity' property and disable it for older machine types to avoid migration issues. Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Message-Id: <20210225001239.47046-1-akihiko.odaki@gmail.com>
Diffstat (limited to 'scripts/qapi/error.py')
0 files changed, 0 insertions, 0 deletions