summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/runqemu7
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 058ee2962c..d95711b191 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -40,8 +40,7 @@ Examples:
$MYNAME qemux86-64 core-image-sato ext4
$MYNAME qemux86-64 wic-image-minimal wic
$MYNAME path/to/bzImage-qemux86.bin path/to/nfsrootdir/ serial
- $MYNAME qemux86 ramfs
- $MYNAME qemux86 iso
+ $MYNAME qemux86 iso/hddimg/vmdk/qcow2/vdi/ramfs...
$MYNAME qemux86 qemuparams="-m 256"
$MYNAME qemux86 bootparams="psplash=false"
$MYNAME path/to/<image>-<machine>.vmdk
@@ -97,7 +96,7 @@ process_filename() {
error "conflicting FSTYPE types [$FSTYPE] and [$EXT]"
fi
;;
- /hddimg/|/hdddirect/|/vmdk/|/wic/)
+ /hddimg/|/hdddirect/|/vmdk/|/wic/|/qcow2/|/vdi/)
FSTYPE=$EXT
VM=$filename
ROOTFS=$filename
@@ -129,7 +128,7 @@ while true; do
"ext"[234] | "jffs2" | "nfs" | "btrfs")
check_fstype_conflicts $arg
;;
- "hddimg" | "hdddirect" | "wic" | "vmdk")
+ "hddimg" | "hdddirect" | "wic" | "vmdk" | "qcow2" | "vdi")
check_fstype_conflicts $arg
IS_VM="true"
;;