]> Git Repo - qemu.git/commit
memory: tune last param of iommu_ops.translate()
authorPeter Xu <[email protected]>
Fri, 19 May 2017 03:19:40 +0000 (11:19 +0800)
committerMichael S. Tsirkin <[email protected]>
Thu, 25 May 2017 18:25:27 +0000 (21:25 +0300)
commitbf55b7afce53718ef96f4e6616da62c0ccac37dd
treeac502b7d8fa21ab67434cd05c9a1390c6c2ddea6
parent9964e96dc9999cf7f7c936ee854a795415d19b60
memory: tune last param of iommu_ops.translate()

This patch converts the old "is_write" bool into IOMMUAccessFlags. The
difference is that "is_write" can only express either read/write, but
sometimes what we really want is "none" here (neither read nor write).
Replay is an good example - during replay, we should not check any RW
permission bits since thats not an actual IO at all.

CC: Paolo Bonzini <[email protected]>
CC: David Gibson <[email protected]>
Reviewed-by: David Gibson <[email protected]>
Acked-by: David Gibson <[email protected]>
Acked-by: Paolo Bonzini <[email protected]>
Signed-off-by: Peter Xu <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Jason Wang <[email protected]>
exec.c
hw/alpha/typhoon.c
hw/dma/rc4030.c
hw/i386/amd_iommu.c
hw/i386/intel_iommu.c
hw/pci-host/apb.c
hw/ppc/spapr_iommu.c
hw/s390x/s390-pci-bus.c
hw/s390x/s390-pci-inst.c
include/exec/memory.h
memory.c
This page took 0.029079 seconds and 4 git commands to generate.