On 8/27/24 20:00, Pavel Hrdina wrote:
> Originally nicindexes were updated only for VIR_DOMAIN_NET_TYPE_BRIDGE
> and VIR_DOMAIN_NET_TYPE_DIRECT. The mentioned commit adds support for
> NAT network mode and changes the code to update nicindexes for
> VIR_DOMAIN_NET_TYPE_ETHERNET and VIR_DOMAIN_NET_TYPE_NETWORK as well.
> 
> It doesn't work as intended and after the change nicindexes are updated
> only for VIR_DOMAIN_NET_TYPE_ETHERNET and VIR_DOMAIN_NET_TYPE_NETWORK.
> 
> Fixes: aa642090738eb276f7bd70dea97d3a4fd03d59e3
> Signed-off-by: Pavel Hrdina <[email protected]>
> ---
>  src/ch/ch_interface.c | 42 ++++++++++++++++++++++++++++--------------
>  1 file changed, 28 insertions(+), 14 deletions(-)
> 

Reviewed-by: Michal Privoznik <[email protected]>

Michal

Reply via email to