From c08f6be52aefa4517aca0979aa860de4d11b9d86 Mon Sep 17 00:00:00 2001 From: Omar Sandoval Date: Mon, 21 Nov 2022 11:57:04 -0800 Subject: [PATCH] vmtest: kbuild: add CONFIG_MODULE_UNLOAD=y I currently have no idea whether the test kmod can actually unload successfully because the vmtest kernels don't support unloading modules. It might also be useful to test unloading other modules in the future. Signed-off-by: Omar Sandoval --- vmtest/kbuild.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vmtest/kbuild.py b/vmtest/kbuild.py index b7feed894..4e4a9eb19 100644 --- a/vmtest/kbuild.py +++ b/vmtest/kbuild.py @@ -30,7 +30,7 @@ class KernelFlavor(NamedTuple): config: str def localversion(self) -> str: - localversion = "-vmtest13" + localversion = "-vmtest14" # The default flavor should be the "latest" version. localversion += ".1" if self.name == "default" else ".0" localversion += self.name @@ -81,6 +81,7 @@ def kconfig(flavor: KernelFlavor) -> str: CONFIG_EXPERT=y {flavor.config} CONFIG_MODULES=y +CONFIG_MODULE_UNLOAD=y CONFIG_CC_OPTIMIZE_FOR_SIZE=y # We run the tests in KVM.