xe_sriov_vf...e_data_enter(9)
π xe_sriov_vfio_resume_data_enter β bestie, let's talk about restoring VF migration data
okay so this is a page from the Kernel API Manual (yes, the actual manual section for kernel API stuff, we love a glow-up β¨) and it's all about xe_sriov_vfio_resume_data_enter, which lowkey kicks off a VF device migration data restore. main character energy fr fr π
β¨ NAME β¨
xe_sriov_vfio_resume_data_enter β initiate a VF device migration data restore π
like, that's literally the whole vibe: you're entering the restore phase for a VF's migration data. no cap.
πΈ SYNOPSIS πΈ
int xe_sriov_vfio_resume_data_enter (struct xe_device *xe , unsigned int vfid );
that's it, that's the signature, copy it exactly, don't @ me π«Ά
π¦ ARGUMENTS π¦
xeβ the PFxe_deviceyou got by callingxe_sriov_vfio_get_pf. like, you can't just show up with any random device, bestie, you gotta obtain it the right way first πvfidβ the VF identifier. and listen... it can't be 0 π that's the rule, that's the vibe check,0is not invited to this party.
β RETURN β
0on success π slay, we love a zero- a negative error code on failure π it's giving "something went wrong", as negative error codes do
π SEE ALSO π
the whole friend group, and honestly they're all iconic in their own way:
- 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_exit(9)xe_sriov_vfio_error(9)xe_sriov_vfio_data_read(9)xe_sriov_vfio_data_write(9)xe_sriov_vfio_stop_copy_size(9)
ngl, xe_sriov_vfio_resume_data_exit(9) is literally the sibling of this function β you enter, then you exit. balanced, as all things should be π
anyway, that's the whole page, no filler, no fluff, we kept every single detail because that's just how we do it π
sign-off corner π§: this one lives in ./include/drm/intel, it's dated October 2026, and it's page xe_sriov_vf...e_data_enter(9) of the Kernel API Manual. mwah, go restore some data bestie π
β¨
π¦ 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