mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-09 20:04:20 +00:00
The vm_control requests that allocate memory from an existing PCI BAR previously hard-coded MmioType::High, but we can decouple this from the particular region by using `mmio_allocator_any()`, which will search both the low and high MMIO regions. Only one will contain the specified PCI address and BAR combination, so there should be no change in behavior for the usual configuration where the PCI BAR will be allocated from high MMIO. BUG=b:178000549 TEST=Start crosvm with fs device and GPU enabled Change-Id: Ia7c5633ee77be0721341d199b704a443c8a3e8d1 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3784343 Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> Tested-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: David Stevens <stevensd@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |