Home
last modified time | relevance | path

Searched refs:KVM_SET_DEVICE_ATTR (Results 1 – 24 of 24) sorted by relevance

/openbmc/qemu/hw/intc/
H A Ds390_flic_kvm.c82 rc = ioctl(flic->fd, KVM_SET_DEVICE_ATTR, &attr); in flic_enable_pfault()
96 rc = ioctl(flic->fd, KVM_SET_DEVICE_ATTR, &attr); in flic_disable_wait_pfault()
120 rc = ioctl(flic->fd, KVM_SET_DEVICE_ATTR, &attr); in flic_enqueue_irqs()
199 rc = ioctl(flic->fd, KVM_SET_DEVICE_ATTR, &attr); in kvm_s390_clear_io_flic()
220 return ioctl(flic->fd, KVM_SET_DEVICE_ATTR, &attr) ? -errno : 0; in kvm_s390_modify_ais_mode()
237 return ioctl(flic->fd, KVM_SET_DEVICE_ATTR, &attr) ? -errno : 0; in kvm_s390_inject_airq()
298 r = ioctl(flic->fd, KVM_SET_DEVICE_ATTR, &attr); in kvm_s390_register_io_adapter()
323 r = ioctl(flic->fd, KVM_SET_DEVICE_ATTR, &attr); in kvm_s390_io_adapter_map()
549 return ioctl(flic->fd, KVM_SET_DEVICE_ATTR, &attr) ? -errno : 0; in kvm_flic_ais_post_load()
665 rc = ioctl(flic->fd, KVM_SET_DEVICE_ATTR, &attr); in kvm_s390_flic_reset()
H A Dopenpic_kvm.c71 ret = ioctl(opp->fd, KVM_SET_DEVICE_ATTR, &attr); in kvm_openpic_write()
146 ret = ioctl(opp->fd, KVM_SET_DEVICE_ATTR, &attr); in kvm_openpic_region_add()
180 ret = ioctl(opp->fd, KVM_SET_DEVICE_ATTR, &attr); in kvm_openpic_region_del()
/openbmc/linux/tools/testing/selftests/kvm/
H A Dsteal_time.c186 ret = __vcpu_ioctl(vcpu, KVM_SET_DEVICE_ATTR, &dev); in steal_time_init()
190 vcpu_ioctl(vcpu, KVM_SET_DEVICE_ATTR, &dev); in steal_time_init()
192 ret = __vcpu_ioctl(vcpu, KVM_SET_DEVICE_ATTR, &dev); in steal_time_init()
/openbmc/qemu/target/s390x/kvm/
H A Dkvm.c189 return kvm_vm_ioctl(kvm_state, KVM_SET_DEVICE_ATTR, &attr); in kvm_s390_set_mem_limit()
221 rc = kvm_vm_ioctl(kvm_state, KVM_SET_DEVICE_ATTR, &attr); in kvm_s390_cmma_reset()
238 rc = kvm_vm_ioctl(kvm_state, KVM_SET_DEVICE_ATTR, &attr); in kvm_s390_enable_cmma()
250 int ret = kvm_vm_ioctl(kvm_state, KVM_SET_DEVICE_ATTR, &attribute); in kvm_s390_set_crypto_attr()
751 r = kvm_vm_ioctl(kvm_state, KVM_SET_DEVICE_ATTR, &attr); in kvm_s390_set_clock()
758 return kvm_vm_ioctl(kvm_state, KVM_SET_DEVICE_ATTR, &attr); in kvm_s390_set_clock()
773 return kvm_vm_ioctl(kvm_state, KVM_SET_DEVICE_ATTR, &attr); in kvm_s390_set_clock_ext()
2251 return kvm_vm_ioctl(kvm_state, KVM_SET_DEVICE_ATTR, &attr); in configure_cpu_subfunc()
2357 return kvm_vm_ioctl(kvm_state, KVM_SET_DEVICE_ATTR, &attr); in configure_cpu_feat()
2533 return kvm_vm_ioctl(kvm_state, KVM_SET_DEVICE_ATTR, &attribute); in configure_uv_feat_guest()
[all …]
/openbmc/qemu/hw/s390x/
H A Ds390-stattrib-kvm.c151 r = kvm_vm_ioctl(kvm_state, KVM_SET_DEVICE_ATTR, &attr); in kvm_s390_stattrib_set_migrationmode()
/openbmc/linux/Documentation/virt/kvm/devices/
H A Dxics.rst61 the KVM_GET_DEVICE_ATTR and KVM_SET_DEVICE_ATTR ioctls, specifying the
H A Ds390_flic.rst159 Note: The KVM_SET_DEVICE_ATTR/KVM_GET_DEVICE_ATTR device ioctls executed on
H A Dvcpu.rst7 The virtual cpu "device" also accepts the ioctls KVM_SET_DEVICE_ATTR,
H A Dvm.rst7 The virtual machine "device" also accepts the ioctls KVM_SET_DEVICE_ATTR,
/openbmc/qemu/hw/vfio/
H A Dspapr.c406 if (ioctl(vfio_kvm_device_fd, KVM_SET_DEVICE_ATTR, &attr)) { in vfio_spapr_container_add_section_window()
H A Dcommon.c1437 if (ioctl(vfio_kvm_device_fd, KVM_SET_DEVICE_ATTR, &attr)) { in vfio_kvm_device_add_fd()
1460 if (ioctl(vfio_kvm_device_fd, KVM_SET_DEVICE_ATTR, &attr)) { in vfio_kvm_device_del_fd()
/openbmc/linux/arch/arm64/kvm/
H A Darm.c1468 case KVM_SET_DEVICE_ATTR: { in kvm_arch_vcpu_ioctl()
1617 case KVM_SET_DEVICE_ATTR: { in kvm_arch_vm_ioctl()
/openbmc/qemu/target/arm/
H A Dkvm.c699 ret = kvm_device_ioctl(kd->dev_fd, KVM_SET_DEVICE_ATTR, attr); in kvm_arm_set_device_addr()
1706 err = kvm_vcpu_ioctl(CPU(cpu), KVM_SET_DEVICE_ATTR, attr); in kvm_arm_set_device_attr()
/openbmc/linux/tools/testing/selftests/kvm/include/
H A Dkvm_util_base.h620 TEST_ASSERT(!ret, KVM_IOCTL_ERROR(KVM_SET_DEVICE_ATTR, ret)); in kvm_device_attr_set()
/openbmc/qemu/linux-headers/linux/
H A Dkvm.h1250 #define KVM_SET_DEVICE_ATTR _IOW(KVMIO, 0xe1, struct kvm_device_attr) macro
/openbmc/qemu/target/loongarch/kvm/
H A Dkvm.c76 err = kvm_vcpu_ioctl(cs, KVM_SET_DEVICE_ATTR, attr); in kvm_set_stealtime()
/openbmc/linux/tools/include/uapi/linux/
H A Dkvm.h1563 #define KVM_SET_DEVICE_ATTR _IOW(KVMIO, 0xe1, struct kvm_device_attr) macro
/openbmc/linux/include/uapi/linux/
H A Dkvm.h1570 #define KVM_SET_DEVICE_ATTR _IOW(KVMIO, 0xe1, struct kvm_device_attr) macro
/openbmc/linux/tools/testing/selftests/kvm/lib/
H A Dkvm_util.c1721 return __kvm_ioctl(dev_fd, KVM_SET_DEVICE_ATTR, &kvmattr); in __kvm_device_attr_set()
/openbmc/qemu/accel/kvm/
H A Dkvm-all.c3400 write ? KVM_SET_DEVICE_ATTR : KVM_GET_DEVICE_ATTR, in kvm_device_access()
/openbmc/linux/virt/kvm/
H A Dkvm_main.c4405 case KVM_SET_DEVICE_ATTR: in kvm_device_ioctl()
/openbmc/linux/arch/x86/kvm/
H A Dx86.c5589 case KVM_SET_DEVICE_ATTR: in kvm_vcpu_ioctl_device_attr()
6080 case KVM_SET_DEVICE_ATTR: in kvm_arch_vcpu_ioctl()
/openbmc/linux/arch/s390/kvm/
H A Dkvm-s390.c3011 case KVM_SET_DEVICE_ATTR: { in kvm_arch_vm_ioctl()
/openbmc/linux/Documentation/virt/kvm/
H A Dapi.rst3314 4.80 KVM_SET_DEVICE_ATTR/KVM_GET_DEVICE_ATTR