Re: [PATCH 6/5] lxc: skip the netdev autogenerated name counter past existing devices

2020-12-17 Thread Michal Privoznik
On 12/17/20 1:28 AM, Laine Stump wrote: On 12/16/20 4:27 PM, Michal Privoznik wrote: On 12/16/20 9:13 PM, Laine Stump wrote: the lxc driver uses virNetDevGenerateName() for its veth device names since patch 2dd0fb492, so it should be using virNetDevReserveName() during daemon restart/reconnect

Re: [PATCH 6/5] lxc: skip the netdev autogenerated name counter past existing devices

2020-12-16 Thread Laine Stump
On 12/16/20 4:27 PM, Michal Privoznik wrote: On 12/16/20 9:13 PM, Laine Stump wrote: the lxc driver uses virNetDevGenerateName() for its veth device names since patch 2dd0fb492, so it should be using virNetDevReserveName() during daemon restart/reconnect to skip over the device names that are

Re: [PATCH 6/5] lxc: skip the netdev autogenerated name counter past existing devices

2020-12-16 Thread Michal Privoznik
On 12/16/20 9:13 PM, Laine Stump wrote: the lxc driver uses virNetDevGenerateName() for its veth device names since patch 2dd0fb492, so it should be using virNetDevReserveName() during daemon restart/reconnect to skip over the device names that are in use. Signed-off-by: Laine Stump --- I

[PATCH 6/5] lxc: skip the netdev autogenerated name counter past existing devices

2020-12-16 Thread Laine Stump
the lxc driver uses virNetDevGenerateName() for its veth device names since patch 2dd0fb492, so it should be using virNetDevReserveName() during daemon restart/reconnect to skip over the device names that are in use. Signed-off-by: Laine Stump --- I meant to mention this during review of the