[libvirt] [PATCH] storage: Report UUID/name consistently in driver errors

Eric Blake eblake at redhat.com
Wed Oct 10 16:30:40 UTC 2012


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.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20121010/8864f05f/attachment-0001.sig>


More information about the libvir-list mailing list