summary refs log tree commit diff stats
path: root/hw/core
diff options
context:
space:
mode:
authorAlberto Faria <afaria@redhat.com>2025-05-02 13:11:15 +0100
committerKevin Wolf <kwolf@redhat.com>2025-05-21 18:52:17 +0200
commit5562e214e82ae4bcb0b642cc52b304bdc78a58c3 (patch)
tree0f1bb816623bb25cecd1f45c0aedd3950119057e /hw/core
parente460991883d7209d52d0fdb534d9cd8cce0f9cce (diff)
downloadfocaccia-qemu-5562e214e82ae4bcb0b642cc52b304bdc78a58c3.tar.gz
focaccia-qemu-5562e214e82ae4bcb0b642cc52b304bdc78a58c3.zip
scsi-disk: Advertise FUA support by default
Allow the guest to submit FUA requests directly, instead of forcing it
to emulate them using a regular flush.

Signed-off-by: Alberto Faria <afaria@redhat.com>
Message-ID: <20250502121115.3613717-3-afaria@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/core')
-rw-r--r--hw/core/machine.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/core/machine.c b/hw/core/machine.c
index b8ae155dfa..c3f3a5020d 100644
--- a/hw/core/machine.c
+++ b/hw/core/machine.c
@@ -37,7 +37,9 @@
 #include "hw/virtio/virtio-iommu.h"
 #include "audio/audio.h"
 
-GlobalProperty hw_compat_10_0[] = {};
+GlobalProperty hw_compat_10_0[] = {
+    { "scsi-hd", "dpofua", "off" },
+};
 const size_t hw_compat_10_0_len = G_N_ELEMENTS(hw_compat_10_0);
 
 GlobalProperty hw_compat_9_2[] = {