Home
last modified time | relevance | path

Searched refs:vfio_kvm_device_fd (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/hw/vfio/
H A Dcommon.c60 int vfio_kvm_device_fd = -1; variable
1424 if (vfio_kvm_device_fd < 0) { in vfio_kvm_device_add_fd()
1434 vfio_kvm_device_fd = cd.fd; in vfio_kvm_device_add_fd()
1437 if (ioctl(vfio_kvm_device_fd, KVM_SET_DEVICE_ATTR, &attr)) { in vfio_kvm_device_add_fd()
1455 if (vfio_kvm_device_fd < 0) { in vfio_kvm_device_del_fd()
1460 if (ioctl(vfio_kvm_device_fd, KVM_SET_DEVICE_ATTR, &attr)) { in vfio_kvm_device_del_fd()
H A Dspapr.c406 if (ioctl(vfio_kvm_device_fd, KVM_SET_DEVICE_ATTR, &attr)) { in vfio_spapr_container_add_section_window()
/openbmc/qemu/include/hw/vfio/
H A Dvfio-common.h265 extern int vfio_kvm_device_fd;