[libvirt] [PATCH] virNetDevVethCreate: Serialize callers

2014-02-25 Thread Michal Privoznik
Consider dozen of LXC domains, each of them having this type of interface: interface type='network' mac address='52:54:00:a7:05:4b'/ source network='default'/ /interface When starting these domain in parallel, all workers may meet in virNetDevVethCreate() where a race starts.

Re: [libvirt] [PATCH] virNetDevVethCreate: Serialize callers

2014-02-25 Thread Eric Blake
On 02/25/2014 09:07 AM, Michal Privoznik wrote: Consider dozen of LXC domains, each of them having this type of interface: interface type='network' mac address='52:54:00:a7:05:4b'/ source network='default'/ /interface When starting these domain in parallel, all