Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/kvm/x86_64/
Dxen_shinfo_test.c479 vm_ioctl(vm, KVM_XEN_HVM_CONFIG, &hvmc); in main()
485 vm_ioctl(vm, KVM_XEN_HVM_SET_ATTR, &lm); in main()
492 vm_ioctl(vm, KVM_XEN_HVM_SET_ATTR, &ruf); in main()
495 vm_ioctl(vm, KVM_XEN_HVM_GET_ATTR, &ruf); in main()
510 vm_ioctl(vm, KVM_XEN_HVM_SET_ATTR, &ha); in main()
538 vm_ioctl(vm, KVM_XEN_HVM_SET_ATTR, &vec); in main()
576 vm_ioctl(vm, KVM_SET_GSI_ROUTING, &irq_routes.info); in main()
582 vm_ioctl(vm, KVM_IRQFD, &ifd); in main()
586 vm_ioctl(vm, KVM_IRQFD, &ifd); in main()
610 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.c526 vm_ioctl(vm, KVM_X86_SET_MSR_FILTER, &filter_allow); in KVM_ONE_VCPU_TEST()
578 vm_ioctl(vcpu->vm, KVM_X86_SET_MSR_FILTER, &no_filter_deny); in handle_ucall()
642 vm_ioctl(vm, KVM_X86_SET_MSR_FILTER, &filter_deny); in KVM_ONE_VCPU_TEST()
679 vm_ioctl(vm, KVM_X86_SET_MSR_FILTER, &filter_fs); in KVM_ONE_VCPU_TEST()
683 vm_ioctl(vm, KVM_X86_SET_MSR_FILTER, &filter_gs); in KVM_ONE_VCPU_TEST()
Dmax_vcpuid_cap_test.c31 vm_ioctl(vm, KVM_SET_BOOT_CPU_ID, (void *)MAX_VCPU_ID); in main()
Dtsc_scaling_sync.c91 vm_ioctl(vm, KVM_SET_TSC_KHZ, (void *) TEST_TSC_KHZ); in main()
Dset_boot_cpu_id.c99 vm_ioctl(vm, KVM_SET_BOOT_CPU_ID, (void *)(unsigned long)bsp_vcpu_id); in create_vm()
Dxen_vmcall_test.c98 vm_ioctl(vm, KVM_XEN_HVM_CONFIG, &hvmc); in main()
Dhyperv_clock.c257 vm_ioctl(vm, KVM_SET_CLOCK, &clock); in main()
Dpmu_event_filter_test.c250 vm_ioctl(vcpu->vm, KVM_SET_PMU_EVENT_FILTER, f); in test_with_filter()
/linux-6.12.1/tools/testing/selftests/kvm/s390x/
Dcmma_test.c391 vm_ioctl(vm, KVM_S390_GET_CMMA_BITS, &args); in assert_all_slots_cmma_dirty()
404 vm_ioctl(vm, KVM_S390_GET_CMMA_BITS, &args); in assert_all_slots_cmma_dirty()
417 vm_ioctl(vm, KVM_S390_GET_CMMA_BITS, &args); in assert_all_slots_cmma_dirty()
438 vm_ioctl(vm, KVM_S390_GET_CMMA_BITS, &args); in assert_no_pages_cmma_dirty()
484 vm_ioctl(vm, KVM_S390_GET_CMMA_BITS, res_out); in query_cmma_range()
/linux-6.12.1/tools/testing/selftests/kvm/include/
Dkvm_util.h330 #define vm_ioctl(vm, cmd, arg) \ macro
374 vm_ioctl(vm, KVM_ENABLE_CAP, &enable_cap); in vm_enable_cap()
394 vm_ioctl(vm, KVM_SET_MEMORY_ATTRIBUTES, &attr); in vm_set_memory_attributes()
440 vm_ioctl(vm, KVM_GET_DIRTY_LOG, &args); in kvm_vm_get_dirty_log()
453 vm_ioctl(vm, KVM_CLEAR_DIRTY_LOG, &args); in kvm_vm_clear_dirty_log()
471 vm_ioctl(vm, KVM_REGISTER_COALESCED_MMIO, &zone); in kvm_vm_register_coalesced_io()
484 vm_ioctl(vm, KVM_UNREGISTER_COALESCED_MMIO, &zone); in kvm_vm_unregister_coalesced_io()
/linux-6.12.1/tools/testing/selftests/kvm/include/x86_64/
Dsev.h82 vm_ioctl(vm, KVM_MEMORY_ENCRYPT_REG_REGION, &range); in sev_register_encrypted_memory()
/linux-6.12.1/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()
Dvpmu_counter_access.c434 vm_ioctl(vpmu_vm.vm, KVM_ARM_PREFERRED_TARGET, &init); in create_vpmu_vm()
532 vm_ioctl(vpmu_vm.vm, KVM_ARM_PREFERRED_TARGET, &init); in run_access_test()
Darch_timer.c198 vm_ioctl(vm, KVM_ARM_SET_COUNTER_OFFSET, &offset); in test_vm_create()
Dsmccc_filter.c67 vm_ioctl(vm, KVM_ARM_PREFERRED_TARGET, &init); in setup_vm()
Dset_id_regs.c414 vm_ioctl(vcpu->vm, KVM_ARM_GET_REG_WRITABLE_MASKS, &range); in test_vm_ftr_id_regs()
Dvgic_irq.c634 vm_ioctl(vm, KVM_IRQFD, &irqfd); in kvm_routing_and_irqfd_check()
/linux-6.12.1/tools/testing/selftests/kvm/
Dset_memory_region_test.c338 vm_ioctl(vm, KVM_SET_NR_MMU_PAGES, (void *)64ul); in test_zero_memory_regions()
/linux-6.12.1/tools/testing/selftests/kvm/lib/aarch64/
Dprocessor.c272 vm_ioctl(vm, KVM_ARM_PREFERRED_TARGET, &preferred); in aarch64_vcpu_setup()
/linux-6.12.1/tools/testing/selftests/kvm/lib/
Dkvm_util.c724 vm_ioctl(vm, KVM_SET_USER_MEMORY_REGION2, &region->region); in __vm_mem_region_delete()
1636 vm_ioctl(vm, KVM_CREATE_IRQCHIP, NULL); in vm_create_irqchip()