Re: [Qemu-devel] [PATCH v4 5/6] block: Drop BlockDriverState.filename

2015-08-31 Thread Eric Blake
On 08/18/2015 05:10 PM, Max Reitz wrote: > That field is now only used during initialization of BlockDriverStates > (opening images) and for error or warning messages. Performance is not > that much of an issue here, so we can drop the field and replace its use > by a call to bdrv_filename() or bdr

[Qemu-devel] [PATCH v4 5/6] block: Drop BlockDriverState.filename

2015-08-18 Thread Max Reitz
That field is now only used during initialization of BlockDriverStates (opening images) and for error or warning messages. Performance is not that much of an issue here, so we can drop the field and replace its use by a call to bdrv_filename() or bdrv_filename_alloc(). By doing so we can ensure the