mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-03-04 08:03:55 +00:00
The MMIO structure contains the length rather than the maximum address so it is necessary to subtract the starting address from the end address to calculate the length. Signed-off-by: Rob Bradford <robert.bradford@intel.com>