arm: fix oob access in compat handling
JIRA: RHEL-130478
Upstream: RHEL only
Fixes: 58cba97a "hw/arm/virt: Use ACPI PCI hotplug by default from 10.2 onwards"
Due to incorrect length information arm_acpi_pci_hp_disabled_compat[]
was accessed out of bounds. This led to the weird side effect that the
1st member of arm_rhel9_compat[] was applied to the virt-rhel10.0
machine type causing migration failures. Fix the length.
Signed-off-by: Sebastian Ott sebott@redhat.com
Edited by Sebastian Ott