vfio.txt 744 B

12345678910111213141516171819202122
  1. VFIO virtual device
  2. ===================
  3. Device types supported:
  4. KVM_DEV_TYPE_VFIO
  5. Only one VFIO instance may be created per VM. The created device
  6. tracks VFIO groups in use by the VM and features of those groups
  7. important to the correctness and acceleration of the VM. As groups
  8. are enabled and disabled for use by the VM, KVM should be updated
  9. about their presence. When registered with KVM, a reference to the
  10. VFIO-group is held by KVM.
  11. Groups:
  12. KVM_DEV_VFIO_GROUP
  13. KVM_DEV_VFIO_GROUP attributes:
  14. KVM_DEV_VFIO_GROUP_ADD: Add a VFIO group to VFIO-KVM device tracking
  15. KVM_DEV_VFIO_GROUP_DEL: Remove a VFIO group from VFIO-KVM device tracking
  16. For each, kvm_device_attr.addr points to an int32_t file descriptor
  17. for the VFIO group.