[libvirt] [PATCH] storage: Report UUID/name consistently in driver errors
Cole Robinson
crobinso at redhat.com
Wed Oct 10 16:49:27 UTC 2012
On 10/10/2012 12:30 PM, Eric Blake wrote:
> On 10/10/2012 10:18 AM, Cole Robinson wrote:
>> Done with:
>>
>> sed -i -e "s/no pool with matching uuid/no storage pool with matching uuid/g" src/storage/storage_driver.c
>> sed -i -e 's/"%s", _("no storage pool with matching uuid")/_("no storage pool with matching uuid %s"), obj->uuid/g' src/storage/storage_driver.c
>> sed -i -e 's/"%s", _("storage pool is not active")/_("storage pool '%s' is not active"), pool->def->name/g' src/storage/storage_driver.c
>>
>> And a couple fixups before, during, and after, and a manual inspection
>> pass to make sure nothing was wonky.
>> ---
>> src/storage/storage_driver.c | 122 ++++++++++++++++++++++++-------------------
>> 1 file changed, 68 insertions(+), 54 deletions(-)
>
> Results look good. ACK.
>
Thanks Eric, pushed now.
- Cole
More information about the libvir-list
mailing list