|
From: | Vladimir Sementsov-Ogievskiy |
Subject: | Re: [PATCH 1/3] backup: Improve error for bdrv_getlength() failure |
Date: | Wed, 29 Apr 2020 14:29:17 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 |
29.04.2020 14:15, Kevin Wolf wrote:
bdrv_get_device_name() will be an empty string with modern management tools that don't use -drive. Use bdrv_get_device_or_node_name() instead so that the node name is used if the BlockBackend is anonymous. While at it, start with upper case to make the message consistent with the rest of the function. Signed-off-by: Kevin Wolf<address@hidden>
Reviewed-by: Vladimir Sementsov-Ogievskiy <address@hidden> -- Best regards, Vladimir
[Prev in Thread] | Current Thread | [Next in Thread] |