hw/virtio/virtio-iommu: Use target-agnostic qemu_target_page_mask()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 24 May 2023 09:37:42 +0000 (11:37 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 23 Jun 2023 06:54:44 +0000 (02:54 -0400)
commite414ed2c47da70381a66846cf9353f7612daa4b8
tree5cbb6be35723f21e32cd8c2342e5e3682379b423
parenta64da64ac671e81f3bae0fbf4e99fe7f8b65b668
hw/virtio/virtio-iommu: Use target-agnostic qemu_target_page_mask()

In order to have virtio-iommu.c become target-agnostic,
we need to avoid using TARGET_PAGE_MASK. Get it with the
qemu_target_page_mask() helper.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Message-Id: <20230524093744.88442-9-philmd@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
hw/virtio/virtio-iommu.c