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.
This commit is contained in:
Joanna Rutkowska 2011-07-02 13:18:11 +02:00
parent 88098ae69b
commit 8d926960f5

View File

@ -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:"