~/talk

Exposing PCIe topology to Guest OS for peer-to-peer

links:none on file
slides:none on file

Problem: guest kernels lack real PCI topology, ACS and root-complex type so the p2pdma check (map_type_list / “calc”) rejects or behaves unpredictably for VM peer-to-peer. Proposals: replicate host topology with qemu emulated root port and virtual PCI switch; implement a virtio topology device that runs calc in user space; expose a user API to call calc from VM setup; or allow a kernel command-line override that forces p2p allowed. Current vfio behavior bypasses calc so some configurations already work but remain unsafe; no single solution is yet built end-to-end.

AI-written summary · about

  1. 0:00Introduction to PCIe P2P
  2. 1:03Current kernel limitations
  3. 6:28Problem with guest OS exposure
  4. 10:01Proposal one replicate topology
  5. 14:13Security concerns with topology
  6. 17:26Missing pieces in user space
  7. 21:00How P2P DMA works in QEMU
  8. 23:26ATS and security implications
  9. 24:53Simple kernel command line solution
  10. 26:18Proposal two virtio device
  11. 27:19Q&A and discussion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.