Home
last modified time | relevance | path

Searched full:intercept (Results 1 – 21 of 21) sorted by relevance

/kvm-unit-tests/lib/s390x/
H A Dsie-icpt.h27 * sie_is_diag_icpt() - Check if intercept is due to diagnose instruction
31 * Check that the intercept is due to diagnose @diag and valid.
32 * For protected virtualization, check that the intercept data meets additional
35 * Returns: true if intercept is due to a valid and has matching diagnose code
H A Dsie.c87 /* leave SIE when we have an intercept or an interrupt so the test can react to it */ in sie()
/kvm-unit-tests/x86/
H A Dsvm_tests.c51 vmcb->control.intercept &= ~(1ULL << INTERCEPT_VMRUN); in prepare_no_vmrun_int()
72 vmcb->control.intercept |= 1 << INTERCEPT_RSM; in prepare_rsm_intercept()
95 vmcb->control.intercept &= ~(1 << INTERCEPT_RSM); in finished_rsm_intercept()
211 report_fail("dr%u read intercept", i); in test_dr_intercept()
247 report_fail("dr%u write intercept", i); in test_dr_intercept()
265 * Per Appendix C "SVM Intercept Exit Codes" of AMD64 Architecture in dr_intercept_finished()
290 vmcb->control.intercept |= (1ULL << INTERCEPT_RDTSC); in prepare_next_rip()
314 vmcb->control.intercept |= (1ULL << INTERCEPT_MSR_PROT); in prepare_msr_intercept()
345 /* Check that a read intercept occurred for MSR at msr_index */ in test_msr_intercept()
347 report_fail("MSR 0x%lx read intercept", msr_index); in test_msr_intercept()
[all …]
H A Dsvm.h55 VMCB_CLEAN_INTERCEPTS = 1, /* Intercept vectors, TSC offset, pause filter count */
77 u64 intercept; member
H A Dhyperv.h109 /* Platform-specific processor intercept messages. */
H A Dlam.c248 * hole. KVM doesn't choose to intercept CR3 in this case for in test_lam_user()
H A Dsvm.c191 ctrl->intercept = (1ULL << INTERCEPT_VMRUN) | in vmcb_ident()
H A Ddebug.c300 * it's treated as an instruction intercept. Verify that ICEBP is in singlestep_with_movss_blocking_and_icebp()
H A Dvmx_tests.c879 * Add more test cases of instruction intercept here. Elements in this
980 "intercept %s", in insn_intercept_main()
1830 report_fail("VMEXIT not due to NMI intercept. Exit reason 0x%x", in nmi_hlt_exit_handler()
1835 report_pass("NMI intercept while running guest"); in nmi_hlt_exit_handler()
8972 * Exception bitmap is irrelevant, since you can't intercept in vmx_preemption_timer_zero_test()
9037 * The hypervisor doesn't intercept WBINVD, so the loop below in vmx_preemption_timer_tf_test_guest()
9041 * hypervisor might intercept WBINVD and emulate it. If the in vmx_preemption_timer_tf_test_guest()
9315 * L1 wants to intercept #DB exceptions encountered in L2. in vmx_db_test()
10124 /* Intercept both VMREAD and VMWRITE. */ in vmcs_shadow_test_field()
10126 /* VMWRITE/VMREAD done on reserved-bit should always intercept */ in vmcs_shadow_test_field()
[all …]
H A Daccess.c1300 /* Force a VM-Exit on KVM, which doesn't intercept LA57 itself. */ in ac_test_run()
/kvm-unit-tests/s390x/
H A Dpv-diags.c35 report(sie_is_diag_icpt(&vm, 0x500), "intercept values"); in test_diag_500()
88 "intercept values"); in test_diag_288()
131 "intercept values"); in test_diag_yield()
139 "intercept values"); in test_diag_yield()
H A Dsie.c37 "Intercept data"); in test_diag()
65 0x83000044 /* DIAG 0x44 to intercept */ in test_epoch_ext()
H A Dspec_ex-sie.c54 "Received specification exception intercept for initial exception"); in test_spec_ex_sie()
66 "Received specification exception intercept"); in test_spec_ex_sie()
H A Dpv-icptcode.c131 /* Tests if a vcpu handle from another configuration results in a validity intercept. */
173 /* Tests if a wrong vm or vcpu handle results in a validity intercept. */
222 * Tests if we get a validity intercept if the CR1 asce at SIE entry
271 report(vm.sblk->icptcode == ICPT_PV_PREF, "Intercept 112 for page 0"); in run_icpt_122_tests()
276 report(vm.sblk->icptcode == ICPT_PV_PREF, "Intercept 112 for page 1"); in run_icpt_122_tests()
H A Dintercept.c258 report_prefix_push("intercept"); in main()
H A DMakefile4 tests += $(TEST_DIR)/intercept.elf
H A Dunittests.cfg33 [intercept]
34 file = intercept.elf
/kvm-unit-tests/s390x/snippets/asm/
H A Dpv-icpt-112.S3 * Intercept 112 PV snippet
7 * should result in a 112 SIE intercept.
H A Dflat.lds.S18 * intercept on a PGM
/kvm-unit-tests/lib/s390x/asm/
H A Dtime.h8 * Copied from the s390/intercept test by:
/kvm-unit-tests/
H A D.gitlab-ci.yml291 intercept
514 intercept