From 7f629e00dea720c1f5ef2dd54d2897f9e16144c1 Mon Sep 17 00:00:00 2001 From: Tasmiya Nalatwad Date: Fri, 27 Nov 2026 17:17:06 +0530 Subject: [PATCH] guest cfg: ignore "Unmaintained driver" in guest dmesg check Guest kernels print "Unmaintained driver is detected" at boot when the cnic/bnx2i modules autoload. The message is harmless, but it is logged at a level covered by guest_dmesg_level, so verify_guest_dmesg fails the test. Set expected_guest_dmesg so only these lines are ignored. All other guest dmesg errors are still reported. Signed-off-by: Tasmiya Nalatwad --- config/tests/guest/libvirt/memory.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/tests/guest/libvirt/memory.cfg b/config/tests/guest/libvirt/memory.cfg index a52ea8a3..99f9be01 100644 --- a/config/tests/guest/libvirt/memory.cfg +++ b/config/tests/guest/libvirt/memory.cfg @@ -37,6 +37,9 @@ vcpu_cores = 32 vcpu_threads = 1 vcpu_sockets = 1 align_mem_values = "yes" +# guest kernels log "Unmaintained driver is detected" at boot when cnic/bnx2i +# autoload; harmless, so ignore only these lines in the guest dmesg verification +expected_guest_dmesg = "Unmaintained driver is detected" variants: - guest_import_32G: