xe_sriov_vfio_data_read(9)
π xe_sriov_vfio_data_read(9) β Kernel API Manual energy π
okay so bestie, welcome to the xe_sriov_vfio_data_read(9) page β¨ this is the Kernel API Manual moment and honestly it's giving "read the migration data off the VF device" and nothing less π«Ά
πΈ NAME πΈ
xe_sriov_vfio_data_read β literally reads migration data from the VF device π
no cap, that's the whole vibe of this function.
β¨ SYNOPSIS β¨
ssize_t xe_sriov_vfio_data_read (struct xe_device *xe , unsigned int
vfid , char __user *buf , size_t len );
like, here's the whole signature, character for character, don't @ me π
π¦ ARGUMENTS π¦
okay so every single one of these matters, let's go through them one by one:
xeβ the PFxe_device, and you get it by callingxe_sriov_vfio_get_pfβ that's the source bestie, don't skip it.vfidβ the VF identifier π― and heads up: it can't be 0 π like literally not allowed.bufβ the start address of the userspace buffer π that's where the data lands.lenβ the requested read size from userspace π₯ like how much they're asking for.
π RETURN π
so what comes back? here's the rundown:
- the number of bytes that has been successfully read β love that for you
0if no more migration data is available π like, that's it, nothing left-errnoon failure π the classic
π SEE ALSO π
go off bestie, here's the whole squad π«Ά starting with the kernel file ./include/drm/intel/xe_sriov_vfio.h β all of these live in the same family:
xe_sriov_vfio_get_pf(9)xe_sriov_vfio_migration_supported(9)xe_sriov_vfio_flr_prepare(9)xe_sriov_vfio_wait_flr_done(9)xe_sriov_vfio_suspend_device(9)xe_sriov_vfio_resume_device(9)xe_sriov_vfio_stop_copy_enter(9)xe_sriov_vfio_stop_copy_exit(9)xe_sriov_vfio_resume_data_enter(9)xe_sriov_vfio_resume_data_exit(9)xe_sriov_vfio_error(9)xe_sriov_vfio_data_write(9)xe_sriov_vfio_stop_copy_size(9)
and that's the page!! π mwah π this queen dropped out of ./include/drm/intel back in October 2026 and she's been iconic ever since β okurrr, go read some migration data, iykyk π§ββοΈπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms