QEMU DMA capable?
Posted: Mon Mar 23, 2015 9:53 pm
Hello,
I have enabled bus mastering on IDE controller by looping through the PCI configuration space and set the correct bit in command register to enable it. The PCI device is 0x7010 on bus 0, device 1, function 1. I've also extracted the BAR4 address which is 0xc041. However when I send a command to enable DMA the status port returns 1. This means DMA is enabled, but not DMA capable according to http://www.bswd.com/idems100.pdf.
For the folks who are using QEMU, is QEMU DMA capable? If it is how should I configure it?
Thanks in advance.
I have enabled bus mastering on IDE controller by looping through the PCI configuration space and set the correct bit in command register to enable it. The PCI device is 0x7010 on bus 0, device 1, function 1. I've also extracted the BAR4 address which is 0xc041. However when I send a command to enable DMA the status port returns 1. This means DMA is enabled, but not DMA capable according to http://www.bswd.com/idems100.pdf.
For the folks who are using QEMU, is QEMU DMA capable? If it is how should I configure it?
Thanks in advance.