Home
last modified time | relevance | path

Searched refs:svm_test (Results 1 – 4 of 4) sorted by relevance

/kvm-unit-tests/x86/
H A Dsvm_npt.c8 static void null_test(struct svm_test *test) in null_test()
12 static void npt_np_prepare(struct svm_test *test) in npt_np_prepare()
22 static void npt_np_test(struct svm_test *test) in npt_np_test()
27 static bool npt_np_check(struct svm_test *test) in npt_np_check()
37 static void npt_nx_prepare(struct svm_test *test) in npt_nx_prepare()
52 static bool npt_nx_check(struct svm_test *test) in npt_nx_check()
64 static void npt_us_prepare(struct svm_test *test) in npt_us_prepare()
74 static void npt_us_test(struct svm_test *test) in npt_us_test()
79 static bool npt_us_check(struct svm_test *test) in npt_us_check()
89 static void npt_rw_prepare(struct svm_test *test) in npt_rw_prepare()
[all …]
H A Dsvm_tests.c40 static void null_test(struct svm_test *test) in null_test()
44 static bool null_check(struct svm_test *test) in null_check()
49 static void prepare_no_vmrun_int(struct svm_test *test) in prepare_no_vmrun_int()
54 static bool check_no_vmrun_int(struct svm_test *test) in check_no_vmrun_int()
59 static void test_vmrun(struct svm_test *test) in test_vmrun()
64 static bool check_vmrun(struct svm_test *test) in check_vmrun()
69 static void prepare_rsm_intercept(struct svm_test *test) in prepare_rsm_intercept()
76 static void test_rsm_intercept(struct svm_test *test) in test_rsm_intercept()
81 static bool check_rsm_intercept(struct svm_test *test) in check_rsm_intercept()
86 static bool finished_rsm_intercept(struct svm_test *test) in finished_rsm_intercept()
[all …]
H A Dsvm.h375 struct svm_test { struct
378 void (*prepare)(struct svm_test *test); argument
379 void (*prepare_gif_clear)(struct svm_test *test); argument
380 void (*guest_func)(struct svm_test *test); argument
381 bool (*finished)(struct svm_test *test); argument
382 bool (*succeeded)(struct svm_test *test); argument
411 typedef void (*test_guest_func)(struct svm_test *); argument
413 int run_svm_tests(int ac, char **av, struct svm_test *svm_tests);
425 void default_prepare(struct svm_test *test);
426 void default_prepare_gif_clear(struct svm_test *test);
[all …]
H A Dsvm.c82 void default_prepare(struct svm_test *test) in default_prepare()
87 void default_prepare_gif_clear(struct svm_test *test) in default_prepare_gif_clear()
91 bool default_finished(struct svm_test *test) in default_finished()
106 int get_test_stage(struct svm_test *test) in get_test_stage()
112 void set_test_stage(struct svm_test *test, int s) in set_test_stage()
119 void inc_test_stage(struct svm_test *test) in inc_test_stage()
147 static void test_thunk(struct svm_test *test) in test_thunk()
214 struct svm_test *v2_test;
248 static noinline void test_run(struct svm_test *test) in test_run()
261 struct svm_test *the_test = test; in test_run()
[all …]