summaryrefslogtreecommitdiffstats
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:
40 $MYNAME qemux86-64 core-image-sato ext4 40 $MYNAME qemux86-64 core-image-sato ext4
41 $MYNAME qemux86-64 wic-image-minimal wic 41 $MYNAME qemux86-64 wic-image-minimal wic
42 $MYNAME path/to/bzImage-qemux86.bin path/to/nfsrootdir/ serial 42 $MYNAME path/to/bzImage-qemux86.bin path/to/nfsrootdir/ serial
43 $MYNAME qemux86 ramfs 43 $MYNAME qemux86 iso/hddimg/vmdk/qcow2/vdi/ramfs...
44 $MYNAME qemux86 iso
45 $MYNAME qemux86 qemuparams="-m 256" 44 $MYNAME qemux86 qemuparams="-m 256"
46 $MYNAME qemux86 bootparams="psplash=false" 45 $MYNAME qemux86 bootparams="psplash=false"
47 $MYNAME path/to/<image>-<machine>.vmdk 46 $MYNAME path/to/<image>-<machine>.vmdk
@@ -97,7 +96,7 @@ process_filename() {
97 error "conflicting FSTYPE types [$FSTYPE] and [$EXT]" 96 error "conflicting FSTYPE types [$FSTYPE] and [$EXT]"
98 fi 97 fi
99 ;; 98 ;;
100 /hddimg/|/hdddirect/|/vmdk/|/wic/) 99 /hddimg/|/hdddirect/|/vmdk/|/wic/|/qcow2/|/vdi/)
101 FSTYPE=$EXT 100 FSTYPE=$EXT
102 VM=$filename 101 VM=$filename
103 ROOTFS=$filename 102 ROOTFS=$filename
@@ -129,7 +128,7 @@ while true; do
129 "ext"[234] | "jffs2" | "nfs" | "btrfs") 128 "ext"[234] | "jffs2" | "nfs" | "btrfs")
130 check_fstype_conflicts $arg 129 check_fstype_conflicts $arg
131 ;; 130 ;;
132 "hddimg" | "hdddirect" | "wic" | "vmdk") 131 "hddimg" | "hdddirect" | "wic" | "vmdk" | "qcow2" | "vdi")
133 check_fstype_conflicts $arg 132 check_fstype_conflicts $arg
134 IS_VM="true" 133 IS_VM="true"
135 ;; 134 ;;