hw/virtio/vhost-vdpa: Use target-agnostic qemu_target_page_mask()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 10 Jul 2023 09:49:29 +0000 (11:49 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 4 Oct 2023 08:54:01 +0000 (04:54 -0400)
commit33f21860b766701f92c01094dcfc5390974d4020
tree046f0225c15f4134553cc0f5772b783254557ab3
parent1dca36fb3d4f07354c9f6bc38b6e5c72fe1e9855
hw/virtio/vhost-vdpa: Use target-agnostic qemu_target_page_mask()

Similarly to commit e414ed2c47 ("virtio-iommu: Use
target-agnostic qemu_target_page_mask"), Replace the
target-specific TARGET_PAGE_SIZE and TARGET_PAGE_MASK
definitions by a call to the runtime qemu_target_page_size()
helper which is target agnostic.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230710094931.84402-5-philmd@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/vhost-vdpa.c