qemu-discuss
[Top][All Lists]
Advanced

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

Re: qemu-img - vhdx compatibility with Hyper-V


From: Max Reitz
Subject: Re: qemu-img - vhdx compatibility with Hyper-V
Date: Mon, 28 Oct 2019 11:01:41 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1

On 27.10.19 10:46, Adam Baxter wrote:
> I've had another look at this and managed to get gdb working enough to
> step through the source code.
> 
> It looks like raw_co_create(BlockdevCreateOptions *options, Error
> **errp) in block\file-win32.c *always* calls set_sparse (which calls
> Win32's underlying DeviceIoControl/FSCTL_SET_SPARSE). file-posix.c has
> some options for "preallocation" and only creates sparse files when
> asked, but these aren't supported for a Windows host in the code right now.
> 
> I'm not quite at the point where I could create a patch, but with some
> help I could get it done.

Shouldn’t specifying -S 0 for qemu-img convert solve the problem?

Max

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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