FYI, Linaro test farm selftests kvm test cases results. * kvm_mmio_warning_test — SKIP * kvm_svm_vmcall_test — SKIP * kvm_clear_dirty_log_test — PASS * kvm_cr4_cpuid_sync_test — PASS * kvm_debug_regs — PASS * kvm_demand_paging_test — PASS * kvm_dirty_log_test — PASS * kvm_evmcs_test — PASS * kvm_hyperv_cpuid — PASS * kvm_ * kvm_create_max_vcpus — PASS * kvm_platform_info_test — PASS * kvm_set_memory_region_test — PASS * kvm_set_sregs_test — PASS * kvm_smm_test — PASS * kvm_state_test — PASS * kvm_steal_time — PASS * kvm_sync_regs_test — PASS * kvm_vmx_close_while_nested_test — PASS * kvm_vmx_dirty_log_test — PASS * kvm_vmx_preemption_timer_test — PASS * kvm_vmx_set_nested_state_test — PASS * kvm_vmx_tsc_adjust_test — PASS * kvm_xss_msr_test — PASS --- Test run output, ---------------------- # selftests kvm cr4_cpuid_sync_test kvm: cr4_cpuid_sync_test_ # [PASS] 1 selftests kvm cr4_cpuid_sync_test selftests: kvm_cr4_cpuid_sync_test [PASS] # selftests kvm evmcs_test kvm: evmcs_test_ # [PASS] 2 selftests kvm evmcs_test selftests: kvm_evmcs_test [PASS] # selftests kvm hyperv_cpuid kvm: hyperv_cpuid_ # [PASS] 3 selftests kvm hyperv_cpuid selftests: kvm_hyperv_cpuid [PASS] # selftests kvm mmio_warning_test kvm: mmio_warning_test_ # # Unrestricted guest must be disabled, skipping test guest: must_be # [SKIP] 4 selftests kvm mmio_warning_test # SKIP selftests: kvm_mmio_warning_test [SKIP] # selftests kvm platform_info_test kvm: platform_info_test_ # [PASS] 5 selftests kvm platform_info_test selftests: kvm_platform_info_test [PASS] # selftests kvm set_sregs_test kvm: set_sregs_test_ # [PASS] 6 selftests kvm set_sregs_test selftests: kvm_set_sregs_test [PASS] # selftests kvm smm_test kvm: smm_test_ # [PASS] 7 selftests kvm smm_test selftests: kvm_smm_test [PASS] # selftests kvm state_test kvm: state_test_ # [PASS] 8 selftests kvm state_test selftests: kvm_state_test [PASS] # selftests kvm vmx_preemption_timer_test kvm: vmx_preemption_timer_test_ # # Stage 2 L1 PT expiry TSC (3201585458) , L1 TSC deadline (3201479648) 2: L1_PT # # Stage 2 L2 PT expiry TSC (3201495292) , L2 TSC deadline (3201522112) 2: L2_PT # [PASS] 9 selftests kvm vmx_preemption_timer_test selftests: kvm_vmx_preemption_timer_test [PASS] # selftests kvm svm_vmcall_test kvm: svm_vmcall_test_ # # nested SVM not enabled, skipping test SVM: not_enabled, # [SKIP] 10 selftests kvm svm_vmcall_test # SKIP selftests: kvm_svm_vmcall_test [SKIP] # selftests kvm sync_regs_test kvm: sync_regs_test_ # [PASS] 11 selftests kvm sync_regs_test selftests: kvm_sync_regs_test [PASS] # selftests kvm vmx_close_while_nested_test kvm: vmx_close_while_nested_test_ # [PASS] 12 selftests kvm vmx_close_while_nested_test selftests: kvm_vmx_close_while_nested_test [PASS] # selftests kvm vmx_dirty_log_test kvm: vmx_dirty_log_test_ # [PASS] 13 selftests kvm vmx_dirty_log_test selftests: kvm_vmx_dirty_log_test [PASS] # selftests kvm vmx_set_nested_state_test kvm: vmx_set_nested_state_test_ # [PASS] 14 selftests kvm vmx_set_nested_state_test selftests: kvm_vmx_set_nested_state_test [PASS] # selftests kvm vmx_tsc_adjust_test kvm: vmx_tsc_adjust_test_ # # IA32_TSC_ADJUST is -4294972445 (-1 * TSC_ADJUST_VALUE + -5149). is: -4294972445_(-1 # # IA32_TSC_ADJUST is -4294972445 (-1 * TSC_ADJUST_VALUE + -5149). is: -4294972445_(-1 # # IA32_TSC_ADJUST is -8589944064 (-2 * TSC_ADJUST_VALUE + -9472). is: -8589944064_(-2 # # IA32_TSC_ADJUST is -8589944064 (-2 * TSC_ADJUST_VALUE + -9472). is: -8589944064_(-2 # [PASS] 15 selftests kvm vmx_tsc_adjust_test selftests: kvm_vmx_tsc_adjust_test [PASS] # selftests kvm xss_msr_test kvm: xss_msr_test_ # [PASS] 16 selftests kvm xss_msr_test selftests: kvm_xss_msr_test [PASS] # selftests kvm debug_regs kvm: debug_regs_ # [PASS] 17 selftests kvm debug_regs selftests: kvm_debug_regs [PASS] # selftests kvm clear_dirty_log_test kvm: clear_dirty_log_test_ # # Test iterations 32, interval 10 (ms) iterations: 32,_interval # # Testing guest mode PA-bitsANY, VA-bits48, 4K pages guest: mode_PA-bitsANY, # # guest physical test memory offset 0x7fbfffc000 physical: test_memory # # Dirtied 1024 pages 1024: pages_ # # Total bits checked dirty (336379), clear (7790178), track_next (4375) bits: checked_dirty # [PASS] 18 selftests kvm clear_dirty_log_test selftests: kvm_clear_dirty_log_test [PASS] # selftests kvm demand_paging_test kvm: demand_paging_test_ # # Testing guest mode PA-bitsANY, VA-bits48, 4K pages guest: mode_PA-bitsANY, # [ 380.911249] livepatch: 'test_klp_livepatch': patching complete [ 380.972587] livepatch: sysctl: setting key \"kernel.ftrace_enabled\": Device or resource busy kernel.ftrace_enabled = 0 [ 380.991823] % echo 0 > /sys/kernel/livepatch/test_klp_livepatch/enabled [ 380.998568] livepatch: 'test_klp_livepatch': starting unpatching transition [ 381.940511] livepatch: 'test_klp_livepatch': unpatching complete [ 381.974079] % rmmod test_klp_livepatch [ 382.037538] ERROR: livepatch kselftest(s) failed [ 382.077768] kselftest: Running tests in lkdtm # guest physical test memory offset 0x7fbffff000 physical: test_memory # # Finished creating vCPUs and starting uffd threads creating: vCPUs_and # # Started all vCPUs all: vCPUs_ # # All vCPU threads joined vCPU: threads_joined # # Total guest execution time 1.507741712s guest: execution_time # # Overall demand paging rate 43134.113526 pgs/sec demand: paging_rate # [PASS] 19 selftests kvm demand_paging_test selftests: kvm_demand_paging_test [PASS] # selftests kvm dirty_log_test kvm: dirty_log_test_ # # Test iterations 32, interval 10 (ms) iterations: 32,_interval # # Testing guest mode PA-bitsANY, VA-bits48, 4K pages guest: mode_PA-bitsANY, # # guest physical test memory offset 0x7fbfffc000 physical: test_memory # # Dirtied 1024 pages 1024: pages_ # # Total bits checked dirty (76993), clear (8049564), track_next (4519) bits: checked_dirty # [PASS] 20 selftests kvm dirty_log_test selftests: kvm_dirty_log_test [PASS] # selftests kvm kvm_create_max_vcpus kvm: kvm_create_max_vcpus_ # # KVM_CAP_MAX_VCPU_ID 1023 1023: _ # # KVM_CAP_MAX_VCPUS 288 288: _ # # Testing creating 288 vCPUs, with IDs 0...287. creating: 288_vCPUs, # # Testing creating 288 vCPUs, with IDs 735...1022. creating: 288_vCPUs, # [PASS] 21 selftests kvm kvm_create_max_vcpus selftests: kvm_kvm_create_max_vcpus [PASS] # selftests kvm set_memory_region_test kvm: set_memory_region_test_ # # Testing KVM_RUN with zero added memory regions KVM_RUN: with_zero # # Allowed number of memory slots 509 number: of_memory # # Adding slots 0..508, each memory region with 2048K size slots: 0..508,_each # # Testing MOVE of in-use region, 10 loops MOVE: of_in-use # # Testing DELETE of in-use region, 10 loops DELETE: of_in-use # [PASS] 22 selftests kvm set_memory_region_test selftests: kvm_set_memory_region_test [PASS] # selftests kvm steal_time kvm: steal_time_ # [PASS] 23 selftests kvm steal_time selftests: kvm_steal_time [PASS] -- Linaro LKFT https://lkft.linaro.org