[Qemu-devel] [PATCH 07/14] scsi-disk: add dpofua property

2012-05-04 Thread Paolo Bonzini
Linux expects REQ_FUA to be advertised only if WRITE+FUA is faster than WRITE+SYNCHRONIZE CACHE, so we should not set the DPOFUA bit. However, it is useful to have it for testing purposes, so add a qdev property to set it. Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- hw/scsi-disk.c |

Re: [Qemu-devel] [PATCH 07/14] scsi-disk: add dpofua property

2012-05-04 Thread Stefan Weil
Am 04.05.2012 10:45, schrieb Paolo Bonzini: Linux expects REQ_FUA to be advertised only if WRITE+FUA is faster than WRITE+SYNCHRONIZE CACHE, so we should not set the DPOFUA bit. However, it is useful to have it for testing purposes, so add a qdev property to set it. Signed-off-by: Paolo