diff options
author | Chen Gang <[email protected]> | 2014-10-06 11:04:45 +0800 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2014-11-05 21:14:08 -0700 |
commit | 23cf1d006f1a32cebf7ac6910ac6bcf41adfd702 (patch) | |
tree | 49bae1bd2e35636615f857a3a3e4e23a9f5e70ea /tools/perf/scripts/python/syscall-counts.py | |
parent | f114040e3ea6e07372334ade75d1ee0775c355e1 (diff) |
xen/pcifront: Process failure for pcifront_(re)scan_root()
When pcifront_try_connect() finds no PCI roots, it falls back to calling
pcifront_scan_root() for 0000:00. If that fails, it used to switch to
XenbusStateConnected and return success (because xenbus_switch_state()
currently always succeeds).
If pcifront_scan_root() fails, leave the XenbusState unchanged and return
an error code.
Similarly, pcifront_attach_devices() falls back to calling
pcifront_rescan_root() for 0000:00. If that fails, it used to switch to
XenbusStateConnected and return an error code.
If pcifront_rescan_root() fails, leave the XenbusState unchanged and return
the error code.
[bhelgaas: changelog]
Signed-off-by: Chen Gang <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions