Skip to content

Commit 765d613

Browse files
committed
cmd-osbuild: fix format for disk image passed to qemu
Should have been qcow2 and not qcow. Fixes 5509a8b
1 parent 7496933 commit 765d613

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmd-osbuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ postprocess_qemu_secex() {
8484
# Basic qemu args:
8585
qemu_args=(); blk_size="512"
8686
[[ $platform == metal4k ]] && blk_size="4096"
87-
qemu_args+=("-drive" "if=none,id=target,format=qcow,file=${imgpath},cache=unsafe" \
87+
qemu_args+=("-drive" "if=none,id=target,format=qcow2,file=${imgpath},cache=unsafe" \
8888
"-device" "virtio-blk,serial=target,drive=target,physical_block_size=${blk_size},logical_block_size=${blk_size}")
8989

9090
# SecureVM (holding Universal Key for all IBM Z Mainframes) requires scripts to execute genprotimg

0 commit comments

Comments
 (0)