hw/arm/virt: Set virtio-iommu aw-bits default value to 48
authorEric Auger <eric.auger@redhat.com>
Thu, 7 Mar 2024 13:43:09 +0000 (14:43 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 12 Mar 2024 21:59:07 +0000 (17:59 -0400)
commit62d776002c990d5b6fd4a2b6809ab2956c6e1ff0
treeacf871b3748576f55800466ad07ef469e5dbc13f
parent9b588be373ad01e7ce09e25f69f66b811af0b799
hw/arm/virt: Set virtio-iommu aw-bits default value to 48

On ARM we set 48b as a default (matching SMMUv3 SMMU_IDR5.VAX == 0).

hw_compat_8_2 is used to handle the compatibility for machine types
before 9.0 (default was 64 bits).

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Zhenzhong Duan <Zhenzhong.duan@intel.com>
Message-Id: <20240307134445.92296-9-eric.auger@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/arm/virt.c