mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-05 10:10:41 +00:00
ab86d52fba
Before we call build_vm we are creating devices and there is no reason to assume those have to be PCI only. In preparation for VFIO platform device support, add super trait which allows to pass generic device structure around and still be able get back to our original type. BUG=b:185504618 TEST=manatee PCI device passthrough boots/works Change-Id: I500f44af430f5f06299f20fc4ca17ca008a7e0c5 Signed-off-by: Tomasz Nowicki <tn@semihalf.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2961210 Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Tomasz Nowicki <tnowicki@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |