mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-11 04:26:38 +00:00
For vfio-pci devices created during vm setup period, they have the same pci address as host. For hotplug in vfio-pci device, caller should assigh the bus number, so it could be associated with a pcie root port or pcie downstream port, but devfn should be 0, as pcie root port driver scan it children device at devfn=0. BUG=b:185084350 TEST=Boot a vm with passthrough device and check its function Change-Id: Ia314cb74b15de374de540e440a91374a6538af54 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2955568 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
.build_test_serial | ||
Cargo.toml |