Re: [PATCH 1/4] lxc: refactor lxcNetworkParseData pointers to use new structures

2020-01-28 Thread Daniel P . Berrangé
On Mon, Jan 27, 2020 at 11:25:45AM -0300, Julio Faracco wrote: > Struct lxcNetworkParseData is being used as a single pointer which > iterates through LXC config lines. It means that it will be applied as a > network each time that a new type appears. After, the same struct is > used to populate a

[PATCH 1/4] lxc: refactor lxcNetworkParseData pointers to use new structures

2020-01-27 Thread Julio Faracco
Struct lxcNetworkParseData is being used as a single pointer which iterates through LXC config lines. It means that it will be applied as a network each time that a new type appears. After, the same struct is used to populate a new network interface. This commit changes this logic to multiple lxcNe