aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2020-05-24 10:53:37 +0100
committerMarc Zyngier <maz@kernel.org>2020-05-24 11:01:13 +0100
commit175a463e5e731b4f00bd6819b5adccc10da9584d (patch)
tree0d3aa190f29d22e7ebf90a1cea2c5896967bba1f
parent04e4655ee6f8ae58ccf99c47babf23cf08b01d70 (diff)
downloadvminstall-175a463e5e731b4f00bd6819b5adccc10da9584d.tar.gz
runefivm: Use AIO and don't cache disk accesses
Host-side caching is silly, let's not do that. Signed-off-by: Marc Zyngier <maz@kernel.org>
-rwxr-xr-xrunefivm.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/runefivm.sh b/runefivm.sh
index 7744ad9..330aaed 100755
--- a/runefivm.sh
+++ b/runefivm.sh
@@ -44,7 +44,7 @@ if [ "$cdrom" != nocdimage ]; then
fi
if [ "$disk" != none ]; then
- dskdev="-drive if=none,format=raw,file=$disk,id=disk0 \
+ dskdev="-drive if=none,format=raw,cache=none,aio=native,file=$disk,id=disk0 \
-device virtio-blk-$bus$virtio,drive=disk0"
fi