Re: [libvirt] [PATCHv2] util: storage: Invert the way recursive metadata retrieval works

2014-04-24 Thread Peter Krempa
On 04/24/14 14:19, Eric Blake wrote: > On 04/23/2014 03:19 PM, Peter Krempa wrote: >> To avoid having the root of a backing chain present twice in the list we >> need to invert the working of virStorageFileGetMetadataRecurse. >> >> Until now the recursive worker created a new backing chain element

Re: [libvirt] [PATCHv2] util: storage: Invert the way recursive metadata retrieval works

2014-04-24 Thread Eric Blake
On 04/23/2014 03:19 PM, Peter Krempa wrote: > To avoid having the root of a backing chain present twice in the list we > need to invert the working of virStorageFileGetMetadataRecurse. > > Until now the recursive worker created a new backing chain element from > the name and other information pass

[libvirt] [PATCHv2] util: storage: Invert the way recursive metadata retrieval works

2014-04-23 Thread Peter Krempa
To avoid having the root of a backing chain present twice in the list we need to invert the working of virStorageFileGetMetadataRecurse. Until now the recursive worker created a new backing chain element from the name and other information passed as arguments. This required us to pass the data of