xe_sriov_vfio_data_write(9)
π xe_sriov_vfio_data_write(9) β the kernel API manual, bestie edition π
okay so this is the xe_sriov_vfio_data_write(9) page from the Kernel API Manual, and it's literally all about writing migration data to the VF device. no cap, that's the whole vibe. let's get into it π«Ά
β¨ NAME β¨
xe_sriov_vfio_data_write β Write migration data to the VF device. that's it, that's the job π
πΈ SYNOPSIS πΈ
ssize_t xe_sriov_vfio_data_write (struct xe_device *xe , unsigned int
vfid , const char __user *buf , size_t len );
like, copy that exactly, bestie β every type and every comma matters π₯
π ARGUMENTS π
xeβ the PFxe_deviceyou get by callingxe_sriov_vfio_get_pf. gotta have the right device first, iykyk πvfidβ the VF identifier, and it can't be0π¨ like, zero is not invited to this party, periodt.bufβ start address of the userspace buffer. that's where the data lives before we write it β¨lenβ the requested write size from userspace. how many bytes are we talking about, bestie? π¦
β RETURN β
returns the number of bytes that has been successfully written, or -errno on failure. so if something goes wrong, you're getting that negative errno vibe π
π SEE ALSO π
- Kernel file
./include/drm/intel/xe_sriov_vfio.h 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_read(9)xe_sriov_vfio_stop_copy_size(9)
like, that's the whole friend group right there β go read them too, they're iconic π
and that's the page, bestie! signing off from ./include/drm/intel, October 2026, on the xe_sriov_vfio_data_write(9) manual page β stay slay, stay writing migration data to the VF device ππ
π¦ 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