summaryrefslogtreecommitdiff
path: root/.local/bin/livevm
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/livevm')
-rwxr-xr-x.local/bin/livevm10
1 files changed, 9 insertions, 1 deletions
diff --git a/.local/bin/livevm b/.local/bin/livevm
index e83f5c6..c1b599e 100755
--- a/.local/bin/livevm
+++ b/.local/bin/livevm
@@ -18,7 +18,7 @@ then
shift
fi
-while getopts "wehc:d:" f
+while getopts "wehc:d:q:r:" f
do
case "$f" in
w)
@@ -40,6 +40,12 @@ do
d)
cmd="${cmd} -drive file=${OPTARG}"
;;
+ q)
+ cmd="${cmd} -drive file=${OPTARG}"
+ ;;
+ r)
+ cmd="${cmd} -drive format=raw,file=${OPTARG}"
+ ;;
h)
cat <<- EOF
Usage: ${0##*/} command
@@ -49,6 +55,8 @@ do
-w run wangblows
-c [cdrom]
-d [drive]
+ -q [img.qcow2]
+ -r [img.raw]
EOF
exit