xiaodwan
xiaodwan
Add a new function to get host bridges on a host
In commit a9211f84bf, 'host bridge' filter was added for aarch64. But on some host, lspci doesn't include any 'host bridge' strings. So the way by get_pci_id_using_filter will return an empty...
Some host don't have input devices. So no /dev/input/event* files exist. If that happens, we just return test error.
The standard function handles all kinds of errors better than the customized function.