diff options
author | Dexuan Cui <[email protected]> | 2018-05-23 21:12:01 +0000 |
---|---|---|
committer | Lorenzo Pieralisi <[email protected]> | 2018-05-25 13:27:50 +0100 |
commit | c3635da2a336441253c33298b87b3042db100725 (patch) | |
tree | 48392fc384fd10c9ea18c5e24ad711581a1a99f1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5b8db8f66e08fa0c4f536ba96288c1451e66be7e (diff) |
PCI: hv: Do not wait forever on a device that has disappeared
Before the guest finishes the device initialization, the device can be
removed anytime by the host, and after that the host won't respond to
the guest's request, so the guest should be prepared to handle this
case.
Add a polling mechanism to detect device presence.
Signed-off-by: Dexuan Cui <[email protected]>
[[email protected]: edited commit log]
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Reviewed-by: Haiyang Zhang <[email protected]>
Cc: Stephen Hemminger <[email protected]>
Cc: K. Y. Srinivasan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions