mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-12-01 04:28:48 +00:00
f82f2dcfa0
PcieRootPort implement hotplug_bus trait, it should be added into RunnableLinuxVm->hotplug_bus, so create pcie root port when RunnableLinuxVm->hotplug_bus is ready. Many hotplug bus may exist, when a hotplug device is added, is_match() should be called on each hotplug bus before attach that device to the bus. BUG=b:185084350 TEST=Boot a vm with passthrough device and check its function Change-Id: I89dbc091f336b3f9d0435b52963f7cf62d408a67 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2955570 Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
.build_test_skip | ||
Cargo.toml |