Add scsi-disk support for Force Unit Access (FUA) writes. The first patch lets us avoid FUA emulation when the underlying driver supports it natively. The second patch makes scsi-disk devices advertise FUA support by default.
v2: - Drop FUA write emulation logic since the block layer already does that. - Add machine type compat for "dpofua". Alberto Faria (2): scsi-disk: Add native FUA write support scsi-disk: Advertise FUA support by default hw/core/machine.c | 1 + hw/scsi/scsi-disk.c | 45 +++++++++++---------------------------------- 2 files changed, 12 insertions(+), 34 deletions(-) -- 2.49.0