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

Guido Günther agx at sigxcpu.org
Wed Jul 11 08:41:31 UTC 2012


On Tue, Jul 10, 2012 at 05:31:27PM -0600, Eric Blake wrote:
> 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.

Pushed. Thanks,
 -- Guido

> 
> -- 
> 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: 828 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120711/e7ddb4b2/attachment-0001.sig>


More information about the libvir-list mailing list