On Fri, Nov 21, 2025 at 12:49:04PM +0000, Andre Carvalho wrote:
Introduce a new netconsole selftest to validate that netconsole is able to resume a deactivated target when the low level interface comes back.
The test setups the network using netdevsim, creates a netconsole target and then remove/add netdevsim in order to bring the same interfaces back. Afterwards, the test validates that the target works as expected.
Targets are created via cmdline parameters to the module to ensure that we are able to resume targets that were bound by mac and interface name.
Signed-off-by: Andre Carvalho asantostc@gmail.com
Reviewed-by: Breno Leitao leitao@debian.org