I split data to 3 chunks and save it in 3 independent backing files like below: img.000 <-- img.001 <-- img.002 img.000 is the backing file of img.001 and 001 is the backing file of 002. img.000 saves the 1st chunk of data and img.001 saves the 2nd chunk of data, and img.002 saves the 3rd chunk of data.
Now I have img.003 stores cow data of 1st chunk and img.002 is the backing file of img.003. The backing chain is like this: img.000 <-- img.001 <-- img.002 <-- img.003 So that means the data of img.003 saves the same range with img.000 but different data. I know I can use *`qemu-img commit'* but it only commit the data from img.003 to img.002. If I use *`qemu-img rebase -b img.000 img.003`*, the data of img.001 and img.002 will merge into img.003. What I want is only commit the data in img.003 into img.000 because the data of the two image are the same range(1st chunk) Is there anyway to commit(or merge) data of active image into corresponding backing file? thx