[libvirt] [PATCH] Fix allocation of veth's to not skip an index

2011-06-07 Thread Daniel P. Berrange
The algorithm for autoassigning vethXXX devices, was always skipping over the starting dev index when finding a free name for the guest device. This should only be done if the host device was autoallocated. * src/lxc/veth.c: Don't skip over veth indexes --- src/lxc/veth.c | 14 +-

Re: [libvirt] [PATCH] Fix allocation of veth's to not skip an index

2011-06-07 Thread Eric Blake
On 06/07/2011 07:35 AM, Daniel P. Berrange wrote: The algorithm for autoassigning vethXXX devices, was always skipping over the starting dev index when finding a free name for the guest device. This should only be done if the host device was autoallocated. * src/lxc/veth.c: Don't skip over