Re: [Qemu-devel] [PATCH v3 10/12] block: Avoid printing NULL string in error messages

2016-09-21 Thread Eric Blake
On 09/21/2016 07:56 AM, Kevin Wolf wrote: > Even for nodes that have a BlockBackend attached, bdrv_get_parent_name() > can return NULL if the BB is anonymous (e.g. it belongs to a block job > or a device that was created with a drive= option). > > Remove the information from the error message. The

[Qemu-devel] [PATCH v3 10/12] block: Avoid printing NULL string in error messages

2016-09-21 Thread Kevin Wolf
Even for nodes that have a BlockBackend attached, bdrv_get_parent_name() can return NULL if the BB is anonymous (e.g. it belongs to a block job or a device that was created with a drive= option). Remove the information from the error message. The user probably knows already why the node is still i