[oe-commits] [openembedded-core] 04/08: runqemu: add support for qcow2 and vdi
git at git.openembedded.org
git at git.openembedded.org
Sun Mar 20 23:13:34 UTC 2016
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit b58b6100ba5de7a4508fe1ea03ce048cfd8b350a
Author: Robert Yang <liezhi.yang at windriver.com>
AuthorDate: Sun Mar 13 23:52:56 2016 -0700
runqemu: add support for qcow2 and vdi
[YOCTO #9168]
Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
scripts/runqemu | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/scripts/runqemu b/scripts/runqemu
index 058ee29..d95711b 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"
;;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list