Re: [Qemu-devel] [PATCH v2 07/11] block: Leave BDS.backing_file constant

2018-11-14 Thread Max Reitz
On 13.11.18 00:08, Eric Blake wrote: > On 8/9/18 5:31 PM, Max Reitz wrote: >> Parts of the block layer treat BDS.backing_file as if it were whatever >> the image header says (i.e., if it is a relative path, it is relative to >> the overlay), other parts treat it like a cache for >> bs->backing->bs-

Re: [Qemu-devel] [PATCH v2 07/11] block: Leave BDS.backing_file constant

2018-11-12 Thread Eric Blake
On 8/9/18 5:31 PM, Max Reitz wrote: Parts of the block layer treat BDS.backing_file as if it were whatever the image header says (i.e., if it is a relative path, it is relative to the overlay), other parts treat it like a cache for bs->backing->bs->filename (relative paths are relative to the CWD

[Qemu-devel] [PATCH v2 07/11] block: Leave BDS.backing_file constant

2018-08-09 Thread Max Reitz
Parts of the block layer treat BDS.backing_file as if it were whatever the image header says (i.e., if it is a relative path, it is relative to the overlay), other parts treat it like a cache for bs->backing->bs->filename (relative paths are relative to the CWD). Considering bs->backing->bs->filena