Skip to content

Commit

Permalink
qinit: tweak startup opts
Browse files Browse the repository at this point in the history
  • Loading branch information
falconindy committed Oct 16, 2012
1 parent 119cb0d commit 2d63059
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qinit
Expand Up @@ -21,7 +21,7 @@ imgroot=/mnt/Haven/qemu-img


### Defaults ############################# ### Defaults #############################
mem=(-m 1024) mem=(-m 1024)
cpus=(-cpu Nehalem) cpus=(-cpu Nehalem -smp sockets=1,cores=2,threads=2)
iso=$isoroot/archlinux.iso iso=$isoroot/archlinux.iso
### Launcher ############################# ### Launcher #############################


Expand Down Expand Up @@ -61,7 +61,7 @@ fi
# default drives # default drives
if (( ${#drives[*]} == 0 )); then if (( ${#drives[*]} == 0 )); then
for drive in "$imgroot/$vm".*.qcow2; do for drive in "$imgroot/$vm".*.qcow2; do
opts+=("-drive" "file=$drive,if=virtio") opts+=("-drive" "file=$drive,if=virtio,aio=native")
done done
else else
opts+=("${drives[@]}") opts+=("${drives[@]}")
Expand Down

0 comments on commit 2d63059

Please sign in to comment.