|
From: | Garg, Shivank |
Subject: | Question on using DMA Engine API with QEMU/KVM |
Date: | Sun, 26 May 2024 16:02:29 +0000 |
[Public] Hi, I have some questions on emulating a DMA hardware with QEMU. I want to test some kernel code I wrote with core DMA Engine API (https://www.kernel.org/doc/Documentation/DMA-API-HOWTO.txt) I’m getting an error while requesting the DMA channel. Also, I don’t see any listed with /sys/class/dma/ as I have not added any DMA device. Can QEMU support the emulate DMA device for testing the DMA APIs? How can I make one work? I did not find any documentation regarding this. I found some details regarding device: “edu” but it’s giving same error when asking for DMA channel. Thanks, Shivank |
[Prev in Thread] | Current Thread | [Next in Thread] |