Skip to content

Commit bd80f5b

Browse files
committed
qemu_test: add unsafe caching
Since we will throw away the result immediately after the test, there is no need for guest disk flushes to actually make it to host disk, so make write caching unsafe to improve performance just like debos does. Signed-off-by: Robie Basak <[email protected]>
1 parent c459ac5 commit bd80f5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/qemu_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def vm():
4242
"-M",
4343
"virt",
4444
"-drive",
45-
f"if=none,file={qcow_path},format=qcow,id=disk1",
45+
f"if=none,file={qcow_path},format=qcow,id=disk1,cache=unsafe",
4646
"-device",
4747
"virtio-scsi-pci,id=scsi1",
4848
"-device",

0 commit comments

Comments
 (0)