Bug#773172: linux: Easier PCI Stub support with CONFIG_PCI_STUB=y
Source: linux
Severity: wishlist
Dear Maintainer,
Using the kernel commandline option "pci-stub.ids=" is a very popular
and easy way of preventing device drivers from attaching to devices
that are meant to be assigned (PCI passthrough via Vt-d/IOMMU) to
virtual machines. Currently Debian's default kernel images do not
support this parameter because pci-stub has been configured as a
module. Loading the module via /etc/modules or
/etc/initramfs-tools/modules does not seem to guarantee that the
pci-stub module gets loaded before other device drivers have a
chance to snatch up the devices that need to be stubbed.
I propose we change the default from CONFIG_PCI_STUB=m to
CONFIG_PCI_STUB=y so that Debian can support the widely popular
practice of specifying pci-stub.ids on the kernel commandline.
-- System Information:
Debian Release: 8.0
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.17.0-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Reply to: