Skip to content
Browse files

qinit: tweak startup opts

  • Loading branch information...
1 parent 119cb0d commit 2d63059ecc8a03c9001f4649b5d75c79067d0a9c @falconindy committed Oct 16, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 qinit
View
4 qinit
@@ -21,7 +21,7 @@ imgroot=/mnt/Haven/qemu-img
### Defaults #############################
mem=(-m 1024)
-cpus=(-cpu Nehalem)
+cpus=(-cpu Nehalem -smp sockets=1,cores=2,threads=2)
iso=$isoroot/archlinux.iso
### Launcher #############################
@@ -61,7 +61,7 @@ fi
# default drives
if (( ${#drives[*]} == 0 )); then
for drive in "$imgroot/$vm".*.qcow2; do
- opts+=("-drive" "file=$drive,if=virtio")
+ opts+=("-drive" "file=$drive,if=virtio,aio=native")
done
else
opts+=("${drives[@]}")

0 comments on commit 2d63059

Please sign in to comment.
Something went wrong with that request. Please try again.