Home
last modified time | relevance | path

Searched refs:vm_ioctl (Results 1 – 18 of 18) sorted by relevance

/tools/testing/selftests/kvm/x86_64/
Dxen_shinfo_test.c470 vm_ioctl(vm, KVM_XEN_HVM_CONFIG, &hvmc); in main()
476 vm_ioctl(vm, KVM_XEN_HVM_SET_ATTR, &lm); in main()
483 vm_ioctl(vm, KVM_XEN_HVM_SET_ATTR, &ruf); in main()
486 vm_ioctl(vm, KVM_XEN_HVM_GET_ATTR, &ruf); in main()
495 vm_ioctl(vm, KVM_XEN_HVM_SET_ATTR, &ha); in main()
523 vm_ioctl(vm, KVM_XEN_HVM_SET_ATTR, &vec); in main()
563 vm_ioctl(vm, KVM_SET_GSI_ROUTING, &irq_routes.info); in main()
569 vm_ioctl(vm, KVM_IRQFD, &ifd); in main()
573 vm_ioctl(vm, KVM_IRQFD, &ifd); in main()
597 vm_ioctl(vm, KVM_XEN_HVM_SET_ATTR, &inj); in main()
[all …]
Dkvm_clock_test.c102 vm_ioctl(vm, KVM_SET_CLOCK, &data); in setup_clock()
115 vm_ioctl(vm, KVM_GET_CLOCK, &start); in enter_guest()
118 vm_ioctl(vm, KVM_GET_CLOCK, &end); in enter_guest()
Duserspace_msr_exit_test.c545 vm_ioctl(vm, KVM_X86_SET_MSR_FILTER, &filter_allow); in test_msr_filter_allow()
601 vm_ioctl(vcpu->vm, KVM_X86_SET_MSR_FILTER, &no_filter_deny); in handle_ucall()
669 vm_ioctl(vm, KVM_X86_SET_MSR_FILTER, &filter_deny); in test_msr_filter_deny()
711 vm_ioctl(vm, KVM_X86_SET_MSR_FILTER, &filter_fs); in test_msr_permission_bitmap()
715 vm_ioctl(vm, KVM_X86_SET_MSR_FILTER, &filter_gs); in test_msr_permission_bitmap()
Dtsc_scaling_sync.c91 vm_ioctl(vm, KVM_SET_TSC_KHZ, (void *) TEST_TSC_KHZ); in main()
Dset_boot_cpu_id.c84 vm_ioctl(vm, KVM_SET_BOOT_CPU_ID, (void *)(unsigned long)bsp_vcpu_id); in create_vm()
Dxen_vmcall_test.c97 vm_ioctl(vm, KVM_XEN_HVM_CONFIG, &hvmc); in main()
Dhyperv_clock.c254 vm_ioctl(vm, KVM_SET_CLOCK, &clock); in main()
Dpmu_event_filter_test.c305 vm_ioctl(vcpu->vm, KVM_SET_PMU_EVENT_FILTER, f); in test_with_filter()
/tools/testing/selftests/kvm/s390x/
Dcmma_test.c396 vm_ioctl(vm, KVM_S390_GET_CMMA_BITS, &args); in assert_all_slots_cmma_dirty()
409 vm_ioctl(vm, KVM_S390_GET_CMMA_BITS, &args); in assert_all_slots_cmma_dirty()
422 vm_ioctl(vm, KVM_S390_GET_CMMA_BITS, &args); in assert_all_slots_cmma_dirty()
443 vm_ioctl(vm, KVM_S390_GET_CMMA_BITS, &args); in assert_no_pages_cmma_dirty()
489 vm_ioctl(vm, KVM_S390_GET_CMMA_BITS, res_out); in query_cmma_range()
/tools/testing/selftests/kvm/aarch64/
Dvcpu_width_config.c89 vm_ioctl(vm, KVM_ARM_PREFERRED_TARGET, &init0); in main()
Dpsci_test.c83 vm_ioctl(vm, KVM_ARM_PREFERRED_TARGET, &init); in setup_vm()
Dsmccc_filter.c67 vm_ioctl(vm, KVM_ARM_PREFERRED_TARGET, &init); in setup_vm()
Darch_timer.c385 vm_ioctl(vm, KVM_ARM_SET_COUNTER_OFFSET, &test_args.offset); in test_vm_create()
Dvgic_irq.c641 vm_ioctl(vm, KVM_IRQFD, &irqfd); in kvm_routing_and_irqfd_check()
/tools/testing/selftests/kvm/include/
Dkvm_util_base.h289 #define vm_ioctl(vm, cmd, arg) \ macro
333 vm_ioctl(vm, KVM_ENABLE_CAP, &enable_cap); in vm_enable_cap()
353 vm_ioctl(vm, KVM_GET_DIRTY_LOG, &args); in kvm_vm_get_dirty_log()
366 vm_ioctl(vm, KVM_CLEAR_DIRTY_LOG, &args); in kvm_vm_clear_dirty_log()
/tools/testing/selftests/kvm/
Dset_memory_region_test.c321 vm_ioctl(vm, KVM_SET_NR_MMU_PAGES, (void *)64ul); in test_zero_memory_regions()
/tools/testing/selftests/kvm/lib/aarch64/
Dprocessor.c252 vm_ioctl(vm, KVM_ARM_PREFERRED_TARGET, &preferred); in aarch64_vcpu_setup()
/tools/testing/selftests/kvm/lib/
Dkvm_util.c689 vm_ioctl(vm, KVM_SET_USER_MEMORY_REGION, &region->region); in __vm_mem_region_delete()
1571 vm_ioctl(vm, KVM_CREATE_IRQCHIP, NULL); in vm_create_irqchip()