Add support for Force Unit Access (FUA) writes. The first patch makes scsi-disk devices advertise FUA support by default; FUA requests will be emulated through a regular write followed by a flush. The second patch lets us avoid FUA emulation when the underlying block driver supports it natively.
Alberto Faria (2): scsi-disk: Advertise FUA support by default scsi-disk: Add native FUA support hw/scsi/scsi-disk.c | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) -- 2.48.1