vfio_file_set_kvm(9)
π NAME π
vfio_file_set_kvm β Link a kvm with VFIO drivers. This is the Kernel API Manual, and this page is vfio_file_set_kvm(9), bestie π
β¨
β¨ SYNOPSIS β¨
void vfio_file_set_kvm (struct file *file , struct kvm *kvm );
πΈ ARGUMENTS πΈ
fileβ the VFIO group file or VFIO device file. The file in question, no cap π«Άkvmβ the KVM to link. That's the link-up right there π
π¦ DESCRIPTION π¦
okay so picture this: when a VFIO device is first opened, the KVM will be available in device->kvm if one was associated with the file. That's the whole tea ββ¨
π₯ SEE ALSO π₯
- Kernel file:
./drivers/vfio/vfio_main.c vfio_file_is_valid(9)vfio_file_enforced_coherent(9)
signed, sealed, slayed: source/version ./drivers/vfio, date October 2026, page vfio_file_set_kvm(9) π
ππ«Ά
π¦ 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