From 8d926960f531071e043601f04b1690193eb9fd12 Mon Sep 17 00:00:00 2001 From: Joanna Rutkowska Date: Sat, 2 Jul 2011 13:18:11 +0200 Subject: [PATCH] Dom0: Do not try to load non-existent xen-pciback module... Load just the pciback, which is how it is named on our kernels, and do not scare the user with weired error messages. --- dom0/aux-tools/unbind_all_network_devices | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/dom0/aux-tools/unbind_all_network_devices b/dom0/aux-tools/unbind_all_network_devices index cea737b1..fd589ab4 100755 --- a/dom0/aux-tools/unbind_all_network_devices +++ b/dom0/aux-tools/unbind_all_network_devices @@ -53,12 +53,10 @@ def main(): if options.verbose: print "Loading Xen PCI Backend..." - retcode = subprocess.call (["/sbin/modprobe", "xen-pciback"]) + retcode = subprocess.call (["/sbin/modprobe", "pciback"]) if retcode != 0: - retcode = subprocess.call (["/sbin/modprobe", "pciback"]) - if retcode != 0: - print "ERROR: Cannot load xen-pciback module!" - exit(1) + print "ERROR: Cannot load the pciback module!" + exit(1) if options.verbose: print "Unbinding the following net devices:"