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:
parent
88098ae69b
commit
8d926960f5
@ -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:"
|
||||
|
Loading…
Reference in New Issue
Block a user