summaryrefslogtreecommitdiff
path: root/scripts/runqemu
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-03-02 00:45:04 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-23 14:24:25 +0000
commit0f8306c77b4ebed1ff127b0786b7109abf0d57cd (patch)
tree147fa2b3b358a1cc50e25a20a0d1a4b9cc92c4df /scripts/runqemu
parentb5cc1e70dbd5df160ddedcaa40d0ab714a307561 (diff)
downloadopenembedded-core-0f8306c77b4ebed1ff127b0786b7109abf0d57cd.tar.gz
openembedded-core-0f8306c77b4ebed1ff127b0786b7109abf0d57cd.tar.bz2
openembedded-core-0f8306c77b4ebed1ff127b0786b7109abf0d57cd.zip
runqemu: add support for qcow2 and vdi
[YOCTO #9168] Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'scripts/runqemu')
-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"
;;