[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

qemu-img convert asserts while converting from vhdx to raw

From: Swapnil Ingle
Subject: qemu-img convert asserts while converting from vhdx to raw
Date: Thu, 23 Jul 2020 16:04:06 +0000
User-agent: Microsoft-MacOutlook/16.38.20061401



We are seeing following assert when trying to convert disk image from vhdx to raw.


$ qemu-img convert -f vhdx -O raw 4KTest1.vhdx test.raw

qemu-img: util/iov.c:388: qiov_slice: Assertion `offset + len <= qiov->size' failed.



I tried using latest qemu-img but still see the issue.


$ qemu-img --version

qemu-img version 5.0.91 (v5.1.0-rc1-2-g3cbc897-dirty)

Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers


$ qemu-img info 4KTest1.vhdx

image: 4KTest1.vhdx

file format: vhdx

virtual size: 10 GiB (10737418240 bytes)

disk size: 35.7 GiB

cluster_size: 33554432


The vhdx disk metadata is following,


VhdFormat : VHDX

VhdType : Dynamic

LogicalSectorSize : 4096

PhysicalSectorSize : 4096

BlockSize : 33554432


We see this issue only for disk with 4k logical sector size.


Thanks and Regards,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]