dom0: unbind_all_network_devices: try also pciback module, before giving up
This commit is contained in:
parent
ed07e55d86
commit
2b135f2aef
@ -54,6 +54,8 @@ 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"])
|
retcode = subprocess.call (["/sbin/modprobe", "xen-pciback"])
|
||||||
|
if retcode != 0:
|
||||||
|
retcode = subprocess.call (["/sbin/modprobe", "pciback"])
|
||||||
if retcode != 0:
|
if retcode != 0:
|
||||||
print "ERROR: Cannot load xen-pciback module!"
|
print "ERROR: Cannot load xen-pciback module!"
|
||||||
exit(1)
|
exit(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user