[Devel] [PATCH VZ10 0/3] Improvements for ve selftests
Pavel Tikhomirov
ptikhomirov at virtuozzo.com
Tue Sep 8 12:12:05 MSK 2026
> This change adds helpers for creating and preserving various
> namespaces and running functions inside them.
> This appeared useful while implementing ve mount accounting
> selftests - it required keeping mount namespace alive and
> doing different things at different moments of time.
>
> To make setns work with CLONE_NEWVE without starting VE,
> the last patch changes -EINVAL return to warning message.
>
> https://virtuozzo.atlassian.net/browse/VSTOR-144504
>
> Feature: ve selftests
> Signed-off-by: Vladimir Riabchun <vladimir.riabchun at virtuozzo.com>
Code itself looks good. Removing the EINVAL does not seem to be braking
any syncronization, and simplifies the separate use of VE namespace for
tests.
I think we can go gradully and update it with actual ve START when we
will need it.
Reviewed-by: Pavel Tikhomirov <ptikhomirov at virtuozzo.com>
--
Pavel Tikhomirov <ptikhomirov at virtuozzo.com>
More information about the Devel
mailing list