Re: [libvirt] [PATCH] qemu: blockjob: Reset disk source index after pivot

2017-12-07 Thread Eric Blake
On 12/07/2017 09:27 AM, Peter Krempa wrote: > Since we are re-detecting the backing chain after pivoting to the active > block commit target (or block copy target) the disk index needs to be > reset to 0. This is necessary since we move a member of the backing > chain to disk->src but clear indexes

[libvirt] [PATCH] qemu: blockjob: Reset disk source index after pivot

2017-12-07 Thread Peter Krempa
Since we are re-detecting the backing chain after pivoting to the active block commit target (or block copy target) the disk index needs to be reset to 0. This is necessary since we move a member of the backing chain to disk->src but clear indexes only starting from disk->src->backingStore. The fre