aboutsummaryrefslogtreecommitdiff
path: root/tests/libqos/virtio-scsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libqos/virtio-scsi.c')
-rw-r--r--tests/libqos/virtio-scsi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/libqos/virtio-scsi.c b/tests/libqos/virtio-scsi.c
index 94842ec..de739be 100644
--- a/tests/libqos/virtio-scsi.c
+++ b/tests/libqos/virtio-scsi.c
@@ -95,7 +95,8 @@ static void virtio_scsi_register_nodes(void)
};
QOSGraphEdgeOptions opts = {
- .before_cmd_line = "-drive id=drv0,if=none,file=null-co://,format=raw",
+ .before_cmd_line = "-drive id=drv0,if=none,file=null-co://,"
+ "file.read-zeroes=on,format=raw",
.after_cmd_line = "-device scsi-hd,bus=vs0.0,drive=drv0",
};