mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Check that the MMIO accesses is 4 bytes long as otherwise it would be possible for the guest to trigger a panic when the memory ranges base and length are copied for fulfilling the MMIO read. This pattern of check matches similar checks in CpuManager and DeviceManager. Signed-off-by: Rob Bradford <rbradford@meta.com>