Update start-qemu

Format should be qcow2 not raw.
This commit is contained in:
James Drummond 2017-03-09 13:05:19 -06:00 committed by GitHub
parent 7f0e4cb747
commit b35f83db20

View File

@ -39,7 +39,7 @@ if [ "$QEMU_HDA" ]; then
fi
# http://wiki.qemu.org/download/qemu-doc.html#Invocation
#qemuArgs+=( -hda "$QEMU_HDA" )
qemuArgs+=( -drive file="$QEMU_HDA",index=0,media=disk,format=raw,discard=unmap )
qemuArgs+=( -drive file="$QEMU_HDA",index=0,media=disk,format=qcow2,discard=unmap )
fi
if [ "$QEMU_CDROM" ]; then