Re: [Qemu-devel] [PATCH v6 4/9] block: Do not blindly copy filename from file

2017-01-16 Thread Eric Blake
On 01/13/2017 02:52 PM, Max Reitz wrote: > bdrv_refresh_filename() can do the same and it has some checks whether > the filename can actually be inherited or not, so we can let it do its > job in bdrv_open_inherit() after bdrv_open_common() has been called. > > The only thing we need to set in

[Qemu-devel] [PATCH v6 4/9] block: Do not blindly copy filename from file

2017-01-13 Thread Max Reitz
bdrv_refresh_filename() can do the same and it has some checks whether the filename can actually be inherited or not, so we can let it do its job in bdrv_open_inherit() after bdrv_open_common() has been called. The only thing we need to set in bdrv_open_common() is the exact_filename of a BDS