dom0: unbind_all_network_devices: try also pciback module, before giving up

This commit is contained in:
Joanna Rutkowska 2010-06-18 20:09:30 +02:00
parent ed07e55d86
commit 2b135f2aef

View File

@ -55,8 +55,10 @@ def main():
print "Loading Xen PCI Backend..."
retcode = subprocess.call (["/sbin/modprobe", "xen-pciback"])
if retcode != 0:
print "ERROR: Cannot load xen-pciback module!"
exit(1)
retcode = subprocess.call (["/sbin/modprobe", "pciback"])
if retcode != 0:
print "ERROR: Cannot load xen-pciback module!"
exit(1)
if options.verbose:
print "Unbinding the following net devices:"