Displaying 6 results from an estimated 6 matches for "l582".
Did you mean:
582
2016 May 17
2
Re: Can I specify qcow2 preallocation method with virt-builder?
...qcow2 preallocation, as possible with qemu-img create -o
> > preallocation=metada , for example?
>
> No .. but .. it does default to preallocation=metadata provided that
> the output format is qcow2:
>
> https://github.com/libguestfs/libguestfs/blob/master/builder/builder.ml#L582-L585
I should say this only applies when the image needs to be resized
(ie. you supply a --size parameter which != the size of the template),
AND if the resize is the final step that the planner comes up with.
https://rwmj.wordpress.com/2013/12/14/writing-a-planner-to-solve-a-tricky-programming-o...
2016 May 17
2
Can I specify qcow2 preallocation method with virt-builder?
When creating qcow2 images using virt-builder, is there a way to specify
the qcow2 preallocation, as possible with qemu-img create -o
preallocation=metada , for example?
TIA,
Y.
2016 May 17
2
Re: Can I specify qcow2 preallocation method with virt-builder?
...> > preallocation=metada , for example?
> > >
> > > No .. but .. it does default to preallocation=metadata provided that
> > > the output format is qcow2:
> > >
> > >
> > https://github.com/libguestfs/libguestfs/blob/master/builder/builder.ml#L582-L585
> >
> > I should say this only applies when the image needs to be resized
> > (ie. you supply a --size parameter which != the size of the template),
> > AND if the resize is the final step that the planner comes up with.
> >
> >
> > https://rwmj.wordpr...
2016 May 17
0
Re: Can I specify qcow2 preallocation method with virt-builder?
...here a way to specify
> the qcow2 preallocation, as possible with qemu-img create -o
> preallocation=metada , for example?
No .. but .. it does default to preallocation=metadata provided that
the output format is qcow2:
https://github.com/libguestfs/libguestfs/blob/master/builder/builder.ml#L582-L585
https://github.com/libguestfs/libguestfs/blob/master/src/create.c#L281-L295
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to ins...
2016 May 17
0
Re: Can I specify qcow2 preallocation method with virt-builder?
...with qemu-img create -o
> > > preallocation=metada , for example?
> >
> > No .. but .. it does default to preallocation=metadata provided that
> > the output format is qcow2:
> >
> >
> https://github.com/libguestfs/libguestfs/blob/master/builder/builder.ml#L582-L585
>
> I should say this only applies when the image needs to be resized
> (ie. you supply a --size parameter which != the size of the template),
> AND if the resize is the final step that the planner comes up with.
>
>
> https://rwmj.wordpress.com/2013/12/14/writing-a-planne...
2016 May 17
0
Re: Can I specify qcow2 preallocation method with virt-builder?
...r example?
> > > >
> > > > No .. but .. it does default to preallocation=metadata provided that
> > > > the output format is qcow2:
> > > >
> > > >
> > >
> https://github.com/libguestfs/libguestfs/blob/master/builder/builder.ml#L582-L585
> > >
> > > I should say this only applies when the image needs to be resized
> > > (ie. you supply a --size parameter which != the size of the template),
> > > AND if the resize is the final step that the planner comes up with.
> > >
> > >...