qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] qcow2: Metadata preallocation


From: Filip Navara
Subject: Re: [Qemu-devel] [PATCH] qcow2: Metadata preallocation
Date: Sun, 16 Aug 2009 14:12:23 +0200

On Sun, Aug 16, 2009 at 1:58 PM, Avi Kivity<address@hidden> wrote:
> Older versions of Windows don't support sparse files, and newer ones need a
> flag.

It's supported since Windows 2000, btw.

>  It's a good idea to set this flag when opening on Windows.

FILE_ATTRIBUTE_SPARSE_FILE? You can't actually set it when
opening/creating the file, a separate call to
DeviceIoControl/FSCTL_SET_SPARSE is needed.

Best regards,
Filip Navara




reply via email to

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