mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-06 20:00:54 +00:00
When resolving an IO address to a device, return the range base address, the offset, and the device itself. This is needed for devices with multiple IO regions to find out which region an IO/MMIO exit is coming from. We also use this change as an opportunity to rename get_device to resolve as we're doing more than just getting a device. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>