xe_sriov_vfio_error(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xe_sriov_vfio_error πŸ’…

okay so bestie, welcome to the Kernel API Manual page for xe_sriov_vfio_error β€” yes it's a 9-section kernel page, yes we're reading it, and yes it's actually kind of iconic.


✨ NAME ✨

xe_sriov_vfio_error β€” literally just yeets a VF device into the error state. that's the whole job. 🫢


🌸 SYNOPSIS 🌸

int xe_sriov_vfio_error (struct xe_device *xe , unsigned int vfid );

πŸŽ€ ARGUMENTS πŸŽ€

  • xe β€” the PF xe_device, and no you can't just make one up: you get it by calling xe_sriov_vfio_get_pf. go get it properly, bestie. πŸ’–
  • vfid β€” the VF identifier. important: it can't be 0. zero is not invited to this party πŸ™…β€β™€οΈ

πŸ¦‹ DESCRIPTION πŸ¦‹

so like… reset is needed to move it out of error state. that's it, that's the lore. no cap. ✨

note to self: this thing puts the device INTO error state β€” getting it back OUT is a whole separate reset moment. don't forget the second part πŸ’€

πŸ”₯ RETURN πŸ”₯

  • 0 on success πŸŽ‰
  • a negative error code on failure 😭

πŸ‘‘ SEE ALSO πŸ‘‘

kernel file ./include/drm/intel/xe_sriov_vfio.h, plus the whole friend group:


and that's the page, bestie! 🌈 brought to you from the ./include/drm/intel corner of the kernel, dated October 2026 β€” mwah, go slay your VF error states πŸ’…πŸ’–

πŸ“¦ where this page comes from