Home
last modified time | relevance | path

Searched refs:sync_global_to_guest (Results 1 – 25 of 25) sorted by relevance

/linux/tools/testing/selftests/kvm/
H A Ddirty_log_test.c673 sync_global_to_guest(vm, host_page_size); in run_test()
674 sync_global_to_guest(vm, guest_page_size); in run_test()
675 sync_global_to_guest(vm, guest_test_virt_mem); in run_test()
676 sync_global_to_guest(vm, guest_num_pages); in run_test()
699 sync_global_to_guest(vm, iteration); in run_test()
702 sync_global_to_guest(vm, nr_writes); in run_test()
765 sync_global_to_guest(vm, vcpu_stop); in run_test()
773 sync_global_to_guest(vm, vcpu_stop); in run_test()
H A Dsteal_time.c74 sync_global_to_guest(vcpu->vm, st_gva[i]); in steal_time_init()
191 sync_global_to_guest(vm, st_gva[i]); in steal_time_init()
315 sync_global_to_guest(vcpu->vm, st_gva[i]); in steal_time_init()
316 sync_global_to_guest(vcpu->vm, st_gpa[i]); in steal_time_init()
446 sync_global_to_guest(vm, st_gva[i]); in steal_time_init()
H A Dmmu_stress_test.c160 sync_global_to_guest(vm, all_vcpus_hit_ro_fault); in vcpu_worker()
387 sync_global_to_guest(vm, mprotect_ro_done); in main()
H A Dguest_print_test.c60 sync_global_to_guest(vcpu->vm, vals); \
H A Dcoalesced_io_test.c228 sync_global_to_guest(vm, kvm_builtin_io_ring); in main()
H A Dkvm_page_table_test.c287 sync_global_to_guest(vm, test_args); in pre_init_before_test()
/linux/tools/testing/selftests/kvm/arm64/
H A Darch_timer.c171 sync_global_to_guest(vm, ptimer_irq); in test_init_timer_irq()
172 sync_global_to_guest(vm, vtimer_irq); in test_init_timer_irq()
207 sync_global_to_guest(vm, test_args); in test_vm_create()
H A Darch_timer_edge_cases.c929 sync_global_to_guest(vm, ptimer_irq); in test_init_timer_irq()
930 sync_global_to_guest(vm, vtimer_irq); in test_init_timer_irq()
950 sync_global_to_guest(*vm, test_args); in test_vm_create()
951 sync_global_to_guest(*vm, CVAL_MAX); in test_vm_create()
952 sync_global_to_guest(*vm, DEF_CNT); in test_vm_create()
H A Dhypercalls.c279 sync_global_to_guest(*vm, stage); in test_guest_stage()
H A Dvgic_lpi_stress.c217 sync_global_to_guest(vm, test_data); in setup_test_data()
/linux/tools/testing/selftests/kvm/riscv/
H A Darch_timer.c97 sync_global_to_guest(vm, timer_freq); in test_vm_create()
101 sync_global_to_guest(vm, test_args); in test_vm_create()
H A Dsbi_pmu_test.c614 sync_global_to_guest(vcpu->vm, snapshot_gva); in test_vm_setup_snapshot_mem()
615 sync_global_to_guest(vcpu->vm, snapshot_gpa); in test_vm_setup_snapshot_mem()
655 sync_global_to_guest(vm, timer_freq); in test_vm_events_overflow()
656 sync_global_to_guest(vm, vcpu_shared_irq_count); in test_vm_events_overflow()
657 sync_global_to_guest(vm, targs); in test_vm_events_overflow()
/linux/tools/testing/selftests/kvm/lib/
H A Dmemstress.c225 sync_global_to_guest(vm, memstress_args); in memstress_create_vm()
238 sync_global_to_guest(vm, memstress_args.write_percent); in memstress_set_write_percent()
244 sync_global_to_guest(vm, memstress_args.random_access); in memstress_set_random_access()
H A Dkvm_util.c523 sync_global_to_guest(vm, guest_rng); in __vm_create()
/linux/tools/testing/selftests/kvm/x86/
H A Dxapic_tpr_test.c231 sync_global_to_guest(vcpu->vm, is_x2apic); in test_tpr()
238 sync_global_to_guest(vcpu->vm, tpr_guest_irq_sync_val); in test_tpr()
H A Dmsrs_test.c426 sync_global_to_guest(vm, msrs); in test_msrs()
427 sync_global_to_guest(vm, ignore_unsupported_msrs); in test_msrs()
470 sync_global_to_guest(vm, idx); in test_msrs()
H A Dfix_hypercall_test.c120 sync_global_to_guest(vm, quirk_disabled); in test_fix_hypercall()
H A Dapic_bus_clock_test.c135 sync_global_to_guest(vm, is_x2apic); in run_apic_bus_clock_test()
H A Dpmu_counters_test.c98 sync_global_to_guest(vm, kvm_pmu_version); in pmu_vm_create_with_one_vcpu()
99 sync_global_to_guest(vm, hardware_pmu_arch_events); in pmu_vm_create_with_one_vcpu()
H A Dpmu_event_filter_test.c167 sync_global_to_guest(vcpu->vm, pmc_results); in run_vcpu_and_sync_pmc_results()
/linux/tools/testing/selftests/kvm/lib/x86/
H A Dprocessor.c791 sync_global_to_guest(vm, host_cpu_is_intel); in kvm_arch_vm_post_create()
792 sync_global_to_guest(vm, host_cpu_is_amd); in kvm_arch_vm_post_create()
793 sync_global_to_guest(vm, host_cpu_is_hygon); in kvm_arch_vm_post_create()
794 sync_global_to_guest(vm, host_cpu_is_amd_compatible); in kvm_arch_vm_post_create()
795 sync_global_to_guest(vm, is_forced_emulation_enabled); in kvm_arch_vm_post_create()
796 sync_global_to_guest(vm, pmu_errata_mask); in kvm_arch_vm_post_create()
807 sync_global_to_guest(vm, guest_tsc_khz); in kvm_arch_vm_post_create()
/linux/tools/testing/selftests/kvm/loongarch/
H A Dpmu_test.c168 sync_global_to_guest(vm, pmu_irq_count); in main()
H A Darch_timer.c192 sync_global_to_guest(vm, test_args); in test_vm_create()
/linux/tools/testing/selftests/kvm/lib/loongarch/
H A Dprocessor.c215 sync_global_to_guest(vm, exception_handlers); in vm_init_descriptor_tables()
/linux/tools/testing/selftests/kvm/include/
H A Dkvm_util.h1131 #define sync_global_to_guest(vm, g) ({ \ macro