]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/nvram/fw_cfg.c
dma: Let dma_memory_set() take MemTxAttrs argument
[mirror_qemu.git] / hw / nvram / fw_cfg.c
index c06b30de11216f0c64dfd85cbb06c816c6884369..f7803fe3c30cb1107869410045d2ce51075d800c 100644 (file)
@@ -399,7 +399,8 @@ static void fw_cfg_dma_transfer(FWCfgState *s)
              * tested before.
              */
             if (read) {
-                if (dma_memory_set(s->dma_as, dma.address, 0, len)) {
+                if (dma_memory_set(s->dma_as, dma.address, 0, len,
+                                   MEMTXATTRS_UNSPECIFIED)) {
                     dma.control |= FW_CFG_DMA_CTL_ERROR;
                 }
             }