Re: [Qemu-devel] [PATCH] qcow2: Restore total_sectors value in save_vmstate

2013-10-24 Thread Kevin Wolf
Am 23.10.2013 um 19:03 hat Max Reitz geschrieben: > On 2013-10-21 22:36, Eric Blake wrote: > >On 10/20/2013 07:28 PM, Max Reitz wrote: > >>Since df2a6f29a5, bdrv_co_do_writev increases the total_sectors value of > >>a growable block devices on writes after the current end. This leads to > >>the vir

Re: [Qemu-devel] [PATCH] qcow2: Restore total_sectors value in save_vmstate

2013-10-23 Thread Max Reitz
On 2013-10-21 22:36, Eric Blake wrote: On 10/20/2013 07:28 PM, Max Reitz wrote: Since df2a6f29a5, bdrv_co_do_writev increases the total_sectors value of a growable block devices on writes after the current end. This leads to the virtual disk apparently growing in qcow2_save_vmstate, which in tur

Re: [Qemu-devel] [PATCH] qcow2: Restore total_sectors value in save_vmstate

2013-10-21 Thread Eric Blake
On 10/20/2013 07:28 PM, Max Reitz wrote: > Since df2a6f29a5, bdrv_co_do_writev increases the total_sectors value of > a growable block devices on writes after the current end. This leads to > the virtual disk apparently growing in qcow2_save_vmstate, which in turn > affects the disk size captured b

[Qemu-devel] [PATCH] qcow2: Restore total_sectors value in save_vmstate

2013-10-20 Thread Max Reitz
Since df2a6f29a5, bdrv_co_do_writev increases the total_sectors value of a growable block devices on writes after the current end. This leads to the virtual disk apparently growing in qcow2_save_vmstate, which in turn affects the disk size captured by the internal snapshot taken directly afterwards