summaryrefslogtreecommitdiff
path: root/scripts/qw
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/qw')
-rwxr-xr-xscripts/qw9
1 files changed, 4 insertions, 5 deletions
diff --git a/scripts/qw b/scripts/qw
index a0d5181..1199227 100755
--- a/scripts/qw
+++ b/scripts/qw
@@ -6,11 +6,10 @@ help() {
cat << EOF
${0}: Qemu Wrapper, very simple script for abriviating \
verbose qemu commands and options
-
options:
- -c create an Image.img with 10G space
- -r [input.iso] run input.iso
- -x [input.qcow2] run input.qcow2
+ -c create an Image.img with 10G space
+ -r [input.iso] run input.iso
+ -x [input.qcow2] run input.qcow2
EOF
exit 0
@@ -25,7 +24,7 @@ while getopts "cr:x:h" option ;do
case "${option}" in
c) run "qemu-img create -f qcow2 Image.img 10G" ;;
- x) run "qemu-system-x86_64 -drive file=${OPTARG},format=qcow2 -enable-kvm" ;;
+ x) run "qemu-system-x86_64 -drive file=${OPTARG},format=qcow2 -enable-kvm -cpu host -smp 2 -m 2048 -net nic -net user -display sdl" ;;
r)
run "qemu-system-x86_64 -enable-kvm -cdrom ${OPTARG} \