mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-09 20:04:20 +00:00
Add a new PciDevice::preferred_address() function, which allows devices to report a PCI address where they would prefer to be allocated. This lets the arch layer pick out the devices that need to have their addresses reserved before allocating the remaining addresses to device that don't care about their assigned PCI address. For now, the returned preferred_address value is not actually used aside from checking is_some(), but it will be used in upcoming cleanups. BUG=b:237415650 TEST=Run x86-64 bzImage Change-Id: Ia323274dcf801a8fe1959287bcc791ca32ce4e18 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3781441 Tested-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |