[libvirt] [PATCH 11/18] vz: fix updating to no gateways

Maxim Nestratov mnestratov at virtuozzo.com
Sat Jun 25 19:31:28 UTC 2016


20.04.2016 17:05, Nikolay Shirokovskiy пишет:

> Current code that pass gateways to vz sdk is not suitable for
> updates. If update has no gateways while we had them before
> we need to pass "" for vz sdk gateways to reset old value.
>
> The code definitely deserves its own function.
>
> Drop checks that skip setting gateways if network address
> is not set. Such a configuration is possible in vz sdk.
>
> Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy at virtuozzo.com>
> ---
>   src/vz/vz_sdk.c | 159 +++++++++++++++++++++++++++++---------------------------
>   1 file changed, 83 insertions(+), 76 deletions(-)

ACK




More information about the libvir-list mailing list