mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-01 17:35:19 +00:00
cf68f03ab6
AArch64 does not use IOBAR, and current code of panics the whole VMM if we need to allocate the IOBAR. This commit checks if IOBAR is enabled before the arch conditional code of IOBAR allocation and if the IOBAR is not enabled, we can just skip the IOBAR allocation and do nothing. Fixes: https://github.com/cloud-hypervisor/cloud-hypervisor/issues/3479 Signed-off-by: Henry Wang <Henry.Wang@arm.com>