On Mon, Jan 20, 2014 at 10:16:23AM +0800, Hu Tao wrote:
> Stefan,
>
> On Fri, Jan 17, 2014 at 04:48:16PM +0800, Stefan Hajnoczi wrote:
> > On Fri, Dec 27, 2013 at 11:05:54AM +0800, Hu Tao wrote:
> >
> > This approach seems okay but the calculation isn't quite right yet.
> >
> > On Windows an er
Stefan,
On Fri, Jan 17, 2014 at 04:48:16PM +0800, Stefan Hajnoczi wrote:
> On Fri, Dec 27, 2013 at 11:05:54AM +0800, Hu Tao wrote:
>
> This approach seems okay but the calculation isn't quite right yet.
>
> On Windows an error would be raised since we don't have preallocate=full
> support. Tha
On Fri, Dec 27, 2013 at 11:05:54AM +0800, Hu Tao wrote:
This approach seems okay but the calculation isn't quite right yet.
On Windows an error would be raised since we don't have preallocate=full
support. That's okay.
> @@ -1477,16 +1478,53 @@ static int qcow2_create2(const char *filename,
>
This adds a preallocation=full mode to qcow2 image creation, which
creates a non-sparse image file.
Signed-off-by: Hu Tao
---
block/qcow2.c | 48 +---
1 file changed, 45 insertions(+), 3 deletions(-)
diff --git a/block/qcow2.c b/block/qcow2.c
index f0