Re: [Qemu-devel] [PATCH v2 11/13] block: Add list of children to BlockDriverState

2015-06-12 Thread Max Reitz
On 10.06.2015 15:47, Kevin Wolf wrote: This allows iterating over all children of a given BDS, not only including bs->file and bs->backing_hd, but also driver-specific ones like VMDK extents or Quorum children. For bdrv_swap(), the list of children of the swapped BDS stays at that BDS (because t

Re: [Qemu-devel] [PATCH v2 11/13] block: Add list of children to BlockDriverState

2015-06-10 Thread Eric Blake
On 06/10/2015 07:47 AM, Kevin Wolf wrote: > This allows iterating over all children of a given BDS, not only > including bs->file and bs->backing_hd, but also driver-specific > ones like VMDK extents or Quorum children. > > For bdrv_swap(), the list of children of the swapped BDS stays at that > B

[Qemu-devel] [PATCH v2 11/13] block: Add list of children to BlockDriverState

2015-06-10 Thread Kevin Wolf
This allows iterating over all children of a given BDS, not only including bs->file and bs->backing_hd, but also driver-specific ones like VMDK extents or Quorum children. For bdrv_swap(), the list of children of the swapped BDS stays at that BDS (because that's where the pointers stay as well). T