Re: [libvirt] [PATCH v2 1/2] lxc: check actual type of interface not config type

2018-12-07 Thread Ján Tomko
On Thu, Dec 06, 2018 at 10:58:22AM -0500, Laine Stump wrote: virLXCControllerGetNICIndexes() was deciding whether or not to add the ifindex for an interface's ifname to the list of ifindexes sent to CreateMachineWithNetwork based on the interface type stored in the config. This would be

[libvirt] [PATCH v2 1/2] lxc: check actual type of interface not config type

2018-12-06 Thread Laine Stump
virLXCControllerGetNICIndexes() was deciding whether or not to add the ifindex for an interface's ifname to the list of ifindexes sent to CreateMachineWithNetwork based on the interface type stored in the config. This would be incorrect in the case of where the network was giving out macvlan