STRUCT PCI_TDI(9)
β¨ struct pci_tdi(9) β¨
okay so bestie, welcome to the Kernel API Manual π this one's a struct page, and it's literally the Core TEE I/O Device Interface (TDI) context β the whole vibe of a TDI in one little bundle. no cap, it's tiny but it matters π
πΈ SYNOPSIS πΈ
here's the whole shape of it, exactly as it lives, don't touch a character:
struct pci_tdi {
struct pci_dev *pdev;
struct kvm *kvm;
u32 tdi_id;
};
three members, that's it, she's lowkey minimal and we love that for her π¦
π Members π
pdevβ the host side representation of the guest-side TDI. think of it as the home-team version of the thing your guest is looking at πkvmβ the TEE VM context of the bound TDI. it's the VM situation this TDI is hitched to πtdi_idβ the identifier, a virtual BDF, for the TDI exactly as it's referenced by the TSM and the DSM. that's your name-tag in the group chat π
π SEE ALSO π
go read the neighbors, they're all friends, fr fr:
- Kernel file
./include/linux/pci-tsm.h struct pci_tsm(9)struct pci_tsm_pf0(9)enum pci_tsm_req_scope(9)
ngl, if you're poking at this struct you absolutely want the pci-tsm.h crew in your tabs. iykyk π«Ά
and that's the whole page, bestie β no notes, she ate π
β¨ this one lives over in ./include/linux, dated October 2026, and it's your girl signing off from the Kernel API Manual π§ππΈ
π¦ 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