PCIBACK(4)
π PCIBACK β Xen backend paravirtualized PCI pass-through driver π
hiii bestie, welcome to the pciback(4) page from the xen Kernel Interfaces Manual. no cap, this is the one about the Xen backend paravirtualized PCI pass-through driver, and itβs lowkey iconic. letβs get into it π
β¨
πΈ NAME πΈ
pciback β Xen backend paravirtualized PCI pass-through driver
β¨ SYNOPSIS β¨
pciback* at pci?
π DESCRIPTION π
okay so the pciback driver is literally the backend part of the PCI pass-through functionality that can be used by the Xen dom0 to export pci(4) devices to a guest domain. to export a PCI device to a guest domain, the device has to be attached to pciback in the dom0. periodt.
and when the guest domain is NetBSD, the device attached to the pciback driver will attach to a xpci(4) bus inside the guest domain. thatβs the whole vibe π¦
π οΈ EXAMPLES π οΈ
to attach a device to the pciback driver, follow these steps, bestie:
- look for the device PCI ID, via
pcictl(8). π - edit
boot.cfg(5)and add the PCI ID to the list of PCI IDs that you want to attach topciback, inbus:device.functionnotation. the list is passed to dom0 module via thepciback.hideparameter:
pciback.hide=(bus:dev.fun)(bus:dev.func)(...)
See also boot(8).
- reboot dom0. yes, really π
- add the PCI ID to the list of PCI devices in the domain configuration file:
pci = ['bus:dev.fun', '...']
- start the guest domain. slay π₯
π SEE ALSO π
go peek at those if you need more tea π
π°οΈ HISTORY π°οΈ
The pciback driver first appeared in NetBSD 5.1. a whole era π
π AUTHORS π
The pciback driver was written by Manuel Bouyer <bouyer@NetBSD.org>. iconic behavior, fr fr π«Ά
β οΈ CAVEATS β οΈ
Currently, to attach a device to the pciback backend, this procedure has to be performed at boot(8) time. In the future, it will be possible to do it without requiring a dom0 reboot. so rn itβs giving βreboot first, bestie,β but future-you might get to skip that step π
π SECURITY CONSIDERATIONS π
As PCI passthrough offers the possibility for guest domains to send arbitrary PCI commands to a physical device, this has direct impact on the overall stability and security of the system. For example, in case of erroneous or malicious commands, the device could overwrite physical memory portions, via DMA. not me being dramatic β that is literally a big security deal, so pay attention π
mwah π and thatβs the page, bestie. the footer tea is source/version Debian, date January 8, 2011 β cute, vintage, documented. bye π«Άπ
π¦ where this page comes from
- nixpkgs unstable: netbsd-source 11.0
- Copyright (c) 2011 The NetBSD Foundation, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms