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

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