Re: [Qemu-devel] [PATCH v2 1/2] qemu-img: Resolve relative backing paths in rebase

2018-05-09 Thread Max Reitz
On 2018-05-09 20:51, Eric Blake wrote: > On 05/09/2018 01:20 PM, Max Reitz wrote: >> Currently, rebase interprets a relative path for the new backing image >> as follows: >> (1) Open the new backing image with the given relative path (thus >> relative to >> qemu-img's working directory). >> (2

Re: [Qemu-devel] [PATCH v2 1/2] qemu-img: Resolve relative backing paths in rebase

2018-05-09 Thread Eric Blake
On 05/09/2018 01:20 PM, Max Reitz wrote: Currently, rebase interprets a relative path for the new backing image as follows: (1) Open the new backing image with the given relative path (thus relative to qemu-img's working directory). (2) Write it directly into the overlay's backing path field

[Qemu-devel] [PATCH v2 1/2] qemu-img: Resolve relative backing paths in rebase

2018-05-09 Thread Max Reitz
Currently, rebase interprets a relative path for the new backing image as follows: (1) Open the new backing image with the given relative path (thus relative to qemu-img's working directory). (2) Write it directly into the overlay's backing path field (thus relative to the overlay). If the