[libvirt] [PATCHv2] openvz: Handle domain obj hash map errors

Eric Blake eblake at redhat.com
Tue Jul 10 23:31:27 UTC 2012


On 07/10/2012 12:54 PM, Guido Günther wrote:
> This makes the driver fail with a clear error message in case of UUID
> collisions (for example if somebody copied a container configuration
> without updating the UUID) and also raises an error on other hash map
> failures.
> 
> OpenVZ itself doesn't complain about duplicate UUIDs since this
> parameter is only used by libvirt.
> ---
> This version adds an extra check for hash collisions and keeps the
> generic failure message for all other errors in virHashAddEntry.
> Cheers,
>  -- Guido

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: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120710/2387d059/attachment-0001.sig>


More information about the libvir-list mailing list