add cache=none,aio=native for disk drive
authorChristian Arnold <arnold@schlittermann.de>
Tue, 10 Jan 2012 16:53:37 +0100
changeset 20 c2a2e2c1f425
parent 18 7cf72f016039
child 21 9fac1b9871d9
add cache=none,aio=native for disk drive
kvmtool.sh
--- a/kvmtool.sh	Thu Jul 15 10:05:50 2010 +0200
+++ b/kvmtool.sh	Tue Jan 10 16:53:37 2012 +0100
@@ -6,7 +6,7 @@
 ME=${0##*/}
 NODE=$(uname -n)
 KVMTAB=/etc/kvmtab
-KVM_OPTS_BUILTIN='-drive file=/dev/drbd$ID,if=virtio,index=0,boot=on
+KVM_OPTS_BUILTIN='-drive file=/dev/drbd$ID,cache=none,aio=native,if=virtio,index=0,boot=on
 	-boot c
 	-m 512
 	-net nic,macaddr=$MAC,model=virtio