Skip to content

KVM: add dmesg check for both host and guest#557

Merged
xhao22 merged 1 commit intointel:mainfrom
fanchen2:dmesg
Mar 9, 2026
Merged

KVM: add dmesg check for both host and guest#557
xhao22 merged 1 commit intointel:mainfrom
fanchen2:dmesg

Conversation

@fanchen2
Copy link
Contributor

@fanchen2 fanchen2 commented Mar 5, 2026

verify_host_dmesg and verify_guest_dmesg from avocado-vt is not applicable for our usage, it will run "dmesg -C" after each check to clean all the dmesg.
Add lkvs_verify_host_dmesg and lkvs_verify_guest_dmesg, which will not clean dmesg but check dmesg in each case running period.

@fanchen2 fanchen2 force-pushed the dmesg branch 2 times, most recently from 2f48db1 to fbfdb56 Compare March 5, 2026 06:53
@fanchen2
Copy link
Contributor Author

fanchen2 commented Mar 5, 2026

"from provider import dmesg_router" in KVM/qemu/tests/*.py is used, the action "import" has already call the execution in dmesg_router.py

verify_host_dmesg and verify_guest_dmesg from avocado-vt is not
applicable for our usage, it will run "dmesg -C" after each check to
clean all the dmesg.
Add lkvs_verify_host_dmesg and lkvs_verify_guest_dmesg, which will not
clean dmesg but check dmesg in each case running period.

Signed-off-by: Farrah Chen <farrah.chen@intel.com>
@xhao22 xhao22 merged commit 1e12cbe into intel:main Mar 9, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants