Re: [Qemu-devel] [PATCH 3/7] block: fix snapshot with QED format

2012-04-12 Thread Kevin Wolf
Am 05.04.2012 17:42, schrieb Paolo Bonzini: QED's opaque data includes a pointer back to the BlockDriverState. Creating a snapshot whose format is QED breaks the relationship when bdrv_append shuffles data between bs_new and bs_top. To avoid this, add a rebind function that tells the driver

Re: [Qemu-devel] [PATCH 3/7] block: fix snapshot with QED format

2012-04-10 Thread Stefan Hajnoczi
On Thu, Apr 05, 2012 at 05:42:57PM +0200, Paolo Bonzini wrote: QED's opaque data includes a pointer back to the BlockDriverState. Creating a snapshot whose format is QED breaks the relationship when bdrv_append shuffles data between bs_new and bs_top. To avoid this, add a rebind function that

Re: [Qemu-devel] [PATCH 3/7] block: fix snapshot with QED format

2012-04-10 Thread Jeff Cody
On 04/05/2012 11:42 AM, Paolo Bonzini wrote: QED's opaque data includes a pointer back to the BlockDriverState. Creating a snapshot whose format is QED breaks the relationship when bdrv_append shuffles data between bs_new and bs_top. To avoid this, add a rebind function that tells the driver

[Qemu-devel] [PATCH 3/7] block: fix snapshot with QED format

2012-04-05 Thread Paolo Bonzini
QED's opaque data includes a pointer back to the BlockDriverState. Creating a snapshot whose format is QED breaks the relationship when bdrv_append shuffles data between bs_new and bs_top. To avoid this, add a rebind function that tells the driver about the new relationship between the