Home
last modified time | relevance | path

Searched refs:__kvm_has_device_attr (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/tools/testing/selftests/kvm/aarch64/
H A Dvgic_init.c162 ret = __kvm_has_device_attr(v->gic_fd, KVM_DEV_ARM_VGIC_GRP_ADDR, -1); in subtest_dist_rdist()
204 ret = __kvm_has_device_attr(v->gic_fd, KVM_DEV_ARM_VGIC_GRP_ADDR, in subtest_dist_rdist()
230 ret = __kvm_has_device_attr(v->gic_fd, KVM_DEV_ARM_VGIC_GRP_ADDR, in subtest_v3_redist_regions()
388 ret = __kvm_has_device_attr(v.gic_fd, KVM_DEV_ARM_VGIC_GRP_CPU_REGS, in test_v2_uaccess_cpuif_no_vcpus()
H A Dsmccc_filter.c250 r = __kvm_has_device_attr(vm->fd, KVM_ARM_VM_SMCCC_CTRL, KVM_ARM_VM_SMCCC_FILTER); in kvm_supports_smccc_filter()
/openbmc/linux/tools/testing/selftests/kvm/include/
H A Dkvm_util_base.h594 int __kvm_has_device_attr(int dev_fd, uint32_t group, uint64_t attr);
598 int ret = __kvm_has_device_attr(dev_fd, group, attr); in kvm_has_device_attr()
626 return __kvm_has_device_attr(vcpu->fd, group, attr); in __vcpu_has_device_attr()
/openbmc/linux/tools/testing/selftests/kvm/s390x/
H A Dcmma_test.c676 r = !__kvm_has_device_attr(vm->fd, KVM_S390_VM_MEM_CTRL, KVM_S390_VM_MEM_ENABLE_CMMA); in machine_has_cmma()
/openbmc/linux/tools/testing/selftests/kvm/lib/
H A Dkvm_util.c1665 int __kvm_has_device_attr(int dev_fd, uint32_t group, uint64_t attr) in __kvm_has_device_attr() function