dom0: unbind_all_network_devices: try also pciback module, before giving up
This commit is contained in:
parent
ed07e55d86
commit
2b135f2aef
@ -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:"
|
||||
|
Loading…
Reference in New Issue
Block a user