]> code.ossystems Code Review - openembedded-core.git/commit
runqemu: explicitly set image format
authorEd Bartosh <ed.bartosh@linux.intel.com>
Wed, 28 Sep 2016 09:16:14 +0000 (12:16 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 28 Sep 2016 14:02:54 +0000 (15:02 +0100)
commit5100bb36502ef7c81220a3c4809eb1b3ac83801f
tree90ab2fb15f84d4b5cfbb40caf76a35ee52f96588
parenta11d0d8641b7dfb05c78645cf21f2c04a08c4822
runqemu: explicitly set image format

QEMU produces a warning if drive format is not specified:
  WARNING: Image format was not specified for
  'tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic'
   and probing guessed raw.
   Automatically detecting the format is dangerous for raw images,
   write operations on block 0 will be restricted.
   Specify the 'raw' format explicitly to remove the restrictions.

Set image format to 'vmdk', 'qcow2' or 'vdi' for correspondent image
types. Set it to 'raw' for the rest of image types.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/runqemu