run_ktstr_test

Function run_ktstr_test 

Source
pub fn run_ktstr_test(entry: &KtstrTestEntry) -> Result<AssertResult>
Expand description

Host-side entry point: build a VM, boot it with --ktstr-test-fn=NAME, extract profraw from SHM, and return the test result.

Validates KVM access and auto-discovers a kernel image via resolve_test_kernel() when KTSTR_TEST_KERNEL is not set.