qubes-pciback.sh 290 B

12345678
  1. #!/bin/sh
  2. # Find all networking devices currenly installed...
  3. HIDE_PCI=`lspci -mm -n | grep '^[^ ]* "02'|awk '{ ORS="";print "(" $1 ")";}'`
  4. # ... and hide them so that Dom0 doesn't load drivers for them
  5. modprobe pciback hide=$HIDE_PCI 2> /dev/null || modprobe xen-pciback hide=$HIDE_PCI