Can you confirm if you are referring to a code to modify the DMA on the processor? I mean changing the configuration on it?
Here is some information you can find very helpful:
My goal is to prevent some part of memory from being destroied by DMA access.
I have already read the
But I still do not know how to start code.I can understand the table which remaped dma.
But how could I assign device to certain guest(or VM), how could I know if there any access volating the dma remaping table?
Is there any more document I should read?
I will verify this with the development team. Let me check and I will be back with more information.
I am sorry for the delay and I appreciate your patience.
Based on the research, there is a link that contains very detail information that can help you with your task. Here is it:
With this, you should not need to do any programming. Let me know if it works.