Bug is reproducible with setting VHDX Fixed Logicalsectorsize to 4096bytes >10G image created reflects as 1.2G virtual size in Qemu-img PS F:\> new-vhd -path test.vhdx -BlockSizeBytes 134217728 -SizeBytes 10737418240 -Fixed -LogicalSectorSizeBytes 4096 ComputerName : XXXX Path : F:\test.vhdx VhdFormat : VHDX VhdType : Fixed FileSize : 10741612544 Size : 10737418240 MinimumSize : LogicalSectorSize : 4096 PhysicalSectorSize : 4096 BlockSize : 0 ParentPath : DiskIdentifier : dfa84293-86f2-4ddf-aaff-14c04dae5df9 FragmentationPercentage : 0 Alignment : 1 Attached : False DiskNumber : Key : IsDeleted : False Number : PS F:\> C:\temp\qemu-img\qemu-img.exe info .\test.vhdx image: .\test.vhdx file format: vhdx virtual size: 1.2G (1342177280 bytes) disk size: 10G cluster_size: 134217728
-- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1719870 Title: Converting 100G VHDX fixed image to QCOW2 fails Status in QEMU: New Bug description: Virtual Size recognized incorrectly for VHDX fixed disk and conversion fails with error Expression: !qiov || bytes == qiov->size PS > & 'C:\Program Files\qemu\qemu-img.exe' --version qemu-img version 2.10.0 (v2.10.0-11669-g579e69bd5b-dirty) Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1719870/+subscriptions