mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 20:48:55 +00:00
7245ebd353
When multi pcie endpoint devices are connected to one virtual pcie root port as pcie multi function device, virtual pcie root port couldn't inject hotplug in interrupt for each added pcie device. Only one hotplug in interrupt is needed for all the added pcie devices. So this commit adds a hp_interupt field into VfioCommandRequest, only the last added pcie device sets hp_interrupt to true and requests virtual pcie root port to inject hotplug in interrupt. Ohter added pcie devices just create and configure vfio-pci device. BUG=b:185084350 TEST=Check TBT dock's hotplug in function, TBT dock has multi pcie devices. Change-Id: I5a68ec38af9a32de9d4233b48e0aa3681e5a3ba3 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3604290 Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |