Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
device: check for existing device PCI path before waiting
If agent is up AFTER device is hotplugged, it will miss the window of catching the device hotplug uevent and as a result it cannot fill it in the device pci map. We should check for such case before trying to wait otherwise the waiting will always fail timeout. Signed-off-by: Peng Tao <bergwolf@gmail.com>
- Loading branch information