Re: [libvirt] [PATCH 2/3] conf: Check for user aliases duplicates only

2018-03-12 Thread Peter Krempa
On Fri, Mar 09, 2018 at 12:56:12 +0100, Michal Privoznik wrote: > https://bugzilla.redhat.com/show_bug.cgi?id=1553162 > > When validating a device XML config we check if user provided > alias is unique. We do this by maintaining a hash table of device > aliases as we iterated over all devices defi

[libvirt] [PATCH 2/3] conf: Check for user aliases duplicates only

2018-03-09 Thread Michal Privoznik
https://bugzilla.redhat.com/show_bug.cgi?id=1553162 When validating a device XML config we check if user provided alias is unique. We do this by maintaining a hash table of device aliases as we iterated over all devices defined for the domain. However, it may happen that what appears as two device