mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
363b478040
The fixup_msix_region() function added in https://github.com/cloud-hypervisor/cloud-hypervisor/commit/a7187168310fec637a4cacd85674ed6d58336e0e made the assumption that MSI-X was always available. This is the case with many VFIO devices and all our virtio devices but created regression with MSI devices. Simply return the existing region size if MSI-X is not supported by the device. Fixes: #5649 Signed-off-by: Rob Bradford <rbradford@rivosinc.com>