/openbmc/qemu/hw/intc/ |
H A D | s390_flic_kvm.c | 82 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 D | openpic_kvm.c | 71 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 D | steal_time.c | 186 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 D | kvm.c | 189 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 D | s390-stattrib-kvm.c | 151 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 D | xics.rst | 61 the KVM_GET_DEVICE_ATTR and KVM_SET_DEVICE_ATTR ioctls, specifying the
|
H A D | s390_flic.rst | 159 Note: The KVM_SET_DEVICE_ATTR/KVM_GET_DEVICE_ATTR device ioctls executed on
|
H A D | vcpu.rst | 7 The virtual cpu "device" also accepts the ioctls KVM_SET_DEVICE_ATTR,
|
H A D | vm.rst | 7 The virtual machine "device" also accepts the ioctls KVM_SET_DEVICE_ATTR,
|
/openbmc/qemu/hw/vfio/ |
H A D | spapr.c | 406 if (ioctl(vfio_kvm_device_fd, KVM_SET_DEVICE_ATTR, &attr)) { in vfio_spapr_container_add_section_window()
|
H A D | common.c | 1437 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 D | arm.c | 1468 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 D | kvm.c | 699 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 D | kvm_util_base.h | 620 TEST_ASSERT(!ret, KVM_IOCTL_ERROR(KVM_SET_DEVICE_ATTR, ret)); in kvm_device_attr_set()
|
/openbmc/qemu/linux-headers/linux/ |
H A D | kvm.h | 1250 #define KVM_SET_DEVICE_ATTR _IOW(KVMIO, 0xe1, struct kvm_device_attr) macro
|
/openbmc/qemu/target/loongarch/kvm/ |
H A D | kvm.c | 76 err = kvm_vcpu_ioctl(cs, KVM_SET_DEVICE_ATTR, attr); in kvm_set_stealtime()
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | kvm.h | 1563 #define KVM_SET_DEVICE_ATTR _IOW(KVMIO, 0xe1, struct kvm_device_attr) macro
|
/openbmc/linux/include/uapi/linux/ |
H A D | kvm.h | 1570 #define KVM_SET_DEVICE_ATTR _IOW(KVMIO, 0xe1, struct kvm_device_attr) macro
|
/openbmc/linux/tools/testing/selftests/kvm/lib/ |
H A D | kvm_util.c | 1721 return __kvm_ioctl(dev_fd, KVM_SET_DEVICE_ATTR, &kvmattr); in __kvm_device_attr_set()
|
/openbmc/qemu/accel/kvm/ |
H A D | kvm-all.c | 3400 write ? KVM_SET_DEVICE_ATTR : KVM_GET_DEVICE_ATTR, in kvm_device_access()
|
/openbmc/linux/virt/kvm/ |
H A D | kvm_main.c | 4405 case KVM_SET_DEVICE_ATTR: in kvm_device_ioctl()
|
/openbmc/linux/arch/x86/kvm/ |
H A D | x86.c | 5589 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 D | kvm-s390.c | 3011 case KVM_SET_DEVICE_ATTR: { in kvm_arch_vm_ioctl()
|
/openbmc/linux/Documentation/virt/kvm/ |
H A D | api.rst | 3314 4.80 KVM_SET_DEVICE_ATTR/KVM_GET_DEVICE_ATTR
|