On 26/2/24 19:11, Eric Auger wrote:
This allows to choose which granule will be used by
default by the virtio-iommu. Current page size mask
default is qemu_target_page_mask so this translates
into a 4K granule.
Signed-off-by: Eric Auger <eric.au...@redhat.com>
---
v4 -> v5:
- use -(n * KiB) (Phild)
v3 -> v4:
- granule_mode introduction moved to that patch
---
include/hw/virtio/virtio-iommu.h | 2 ++
hw/virtio/virtio-iommu.c | 28 +++++++++++++++++++++++++---
qemu-options.hx | 3 +++
3 files changed, 30 insertions(+), 3 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>