Am Mittwoch, 30. Dezember 2009 13:18 schrieb Stefan Weil:
> Laurent Coustet schrieb:
> > I've seen the code on git a little bit, seems rather simple to me, but
> > what do you think is the better way to integrate such a fonctionality
> > ? New command ?
> >
> > The best approch for me I think is to
Laurent Coustet schrieb:
> I've seen the code on git a little bit, seems rather simple to me, but
> what do you think is the better way to integrate such a fonctionality
> ? New command ?
>
> The best approch for me I think is to extend "convert".
>
> Example:
> qemu-img -f qcow2 -O qcow2 original5
Le 29/12/2009 21:49, Kevin Wolf a écrit :
The right way would be a patch to qemu rather than an external python script
anyway.
I've seen the code on git a little bit, seems rather simple to me, but
what do you think is the better way to integrate such a fonctionality ?
New command ?
The bes
Le 29/12/2009 21:49, Kevin Wolf a écrit :
> You need to really resize the L1 table and not just extend the
l1_size in the
> qcow2 header. And don't use the script with snapshots. VM state is saved
> after the end of the virtual disk, so if you extend the disk it might
overlap
> the VM state (
Am Dienstag, 29. Dezember 2009 14:07 schrieb Laurent Coustet:
> Hi,
>
> I just wrote a small python script that helps resizing a QCow2 image
> without rewriting it.
>
> I'm sure that's not the correct way to do it, but it seems to work well.
>
> Beware this script DO NOT SUPPORT SHRINKING !! It
Le 29/12/2009 16:32, Laurent Coustet a écrit :
Le 29/12/2009 14:07, Laurent Coustet a écrit :
use at your own risks !
Don't use it, I just forgot to move all datas if l1 needs more blocks..
Le 29/12/2009 14:07, Laurent Coustet a écrit :
Hi,
I just wrote a small python script that helps resizing a QCow2 image
without rewriting it.
I'm sure that's not the correct way to do it, but it seems to work well.
Beware this script DO NOT SUPPORT SHRINKING !! It do not check any error
case,
Hi,
I just wrote a small python script that helps resizing a QCow2 image
without rewriting it.
I'm sure that's not the correct way to do it, but it seems to work well.
Beware this script DO NOT SUPPORT SHRINKING !! It do not check any error
case, so; use at your own risks !
--
Laurent Cou