2011-09-02 16:55:39 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# Find all networking devices currenly installed...
|
|
|
|
HIDE_PCI=`lspci -mm -n | grep '^[^ ]* "02'|awk '{ ORS="";print "(" $1 ")";}'`
|
|
|
|
|
|
|
|
# ... and hide them so that Dom0 doesn't load drivers for them
|
2012-02-25 13:54:39 +01:00
|
|
|
modprobe pciback hide=$HIDE_PCI 2> /dev/null || modprobe xen-pciback hide=$HIDE_PCI
|
2011-09-02 16:55:39 +02:00
|
|
|
|