the vhd generated by qemu-img not align with MB again.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Invalid
|
Undecided
|
Andy |
Bug Description
I'm using this version on xenial,
andy@bastion:
qemu-img version 2.5.0 (Debian 1:2.5+dfsg-
steps to repro:
dd if=/dev/zero of=/tmp/
mkfs.ext4 -F /tmp/azure_
sudo -n mount -o loop /tmp/azure_
sudo -n chown andy /tmp/azure_
mkdir -p /tmp/azure_
sudo -n umount /tmp/azure_
qemu-img convert -f raw -O vpc -o subformat=
unfortunately the papapa2.vhd size is 25166336!=25165824 which means it's not aligned in MiB.
and also seems it's not a vhd file:
andy@bastion:
image: papapa2.vhd
file format: raw
virtual size: 24M (25166336 bytes)
disk size: 152K
could you please help?
summary: |
- the vhd generated by qemu-img not align with MiB again. + the vhd generated by qemu-img not align with MB again. |
description: | updated |
Changed in qemu: | |
status: | New → Invalid |
Changed in qemu: | |
assignee: | nobody → Andy (andyliuliming) |
It is -o subformat=fixed which breaks the file format detection