summary refs log tree commit diff stats
path: root/hw/misc/stm32l4x5_rcc.c
diff options
context:
space:
mode:
authorStefano Garzarella <sgarzare@redhat.com>2024-08-08 10:05:45 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2024-08-12 11:41:29 -0400
commit547c4e50929ec6c091d9c16a7b280e829b12b463 (patch)
tree8415d1c2a8fddedea01b020bfcb80915edf34351 /hw/misc/stm32l4x5_rcc.c
parent0f397dcfecc9211d12c2c720c01eb32f0eaa7d23 (diff)
downloadfocaccia-qemu-547c4e50929ec6c091d9c16a7b280e829b12b463.tar.gz
focaccia-qemu-547c4e50929ec6c091d9c16a7b280e829b12b463.zip
block/blkio: use FUA flag on write zeroes only if supported
libblkio supports BLKIO_REQ_FUA with write zeros requests only since
version 1.4.0, so let's inform the block layer that the blkio driver
supports it only in this case. Otherwise we can have runtime errors
as reported in https://issues.redhat.com/browse/RHEL-32878

Fixes: fd66dbd424 ("blkio: add libblkio block driver")
Cc: qemu-stable@nongnu.org
Buglink: https://issues.redhat.com/browse/RHEL-32878
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20240808080545.40744-1-sgarzare@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/misc/stm32l4x5_rcc.c')
0 files changed, 0 insertions, 0 deletions