Skip to content

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

Open
fanchen2 wants to merge 1 commit intointel:mainfrom
fanchen2:dmesg
Open

KVM: add dmesg check for both host and guest#557
fanchen2 wants to merge 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>
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.

1 participant