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,11 +53,9 @@ def main():
if options.verbose: if options.verbose:
print "Loading Xen PCI Backend..." print "Loading Xen PCI Backend..."
retcode = subprocess.call (["/sbin/modprobe", "xen-pciback"])
if retcode != 0:
retcode = subprocess.call (["/sbin/modprobe", "pciback"]) retcode = subprocess.call (["/sbin/modprobe", "pciback"])
if retcode != 0: if retcode != 0:
print "ERROR: Cannot load xen-pciback module!" print "ERROR: Cannot load the pciback module!"
exit(1) exit(1)
if options.verbose: if options.verbose: