Re: [Qemu-devel] [PATCH v3 4/5] block: Drop BlockDriverState.filename

2015-08-13 Thread Kevin Wolf
Am 12.08.2015 um 17:48 hat Max Reitz geschrieben: > 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

[Qemu-devel] [PATCH v3 4/5] block: Drop BlockDriverState.filename

2015-08-12 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