dma: Let dma_buf_read() take MemTxAttrs argument
commit1e5a3f8b2a976054da96cbbb9de6cbac7c2efb79
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Wed, 15 Dec 2021 22:29:52 +0000 (15 23:29 +0100)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 31 Dec 2021 00:05:27 +0000 (31 01:05 +0100)
tree85cdf06fcf5c3edd204010f5a19d7634eda56320
parent392e48af3468d7f8e49db33fdc9e28b5f99276ce
dma: Let dma_buf_read() take MemTxAttrs argument

Let devices specify transaction attributes when calling
dma_buf_read().

Keep the default MEMTXATTRS_UNSPECIFIED in the few callers.

Reviewed-by: Klaus Jensen <k.jensen@samsung.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20211223115554.3155328-13-philmd@redhat.com>
hw/ide/ahci.c
hw/nvme/ctrl.c
hw/scsi/megasas.c
hw/scsi/scsi-bus.c
include/sysemu/dma.h
softmmu/dma-helpers.c