cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

thekostya
Journeyman III

AMD-V memory intercepts

Question about intercepting memory in an AMD-V VM

I am using AMD-V to develop a VMM and I have a question: is it possible to intercept a block of memory? I want to be able to intercept all attempts by the VM to read or write to a given region in memory and fake the calls to make the VM think that it was allowed to do this? What I am looking for is not redirrecting the memmory reads from one address to another (as shadowed and nested paging seem to do), but to actually get a VMEXIT when the memory is used.

0 Likes
1 Reply
thekostya
Journeyman III

I think that I came up with a solution: using nested paging, I should be able to induce a page fault by having the nested page point to a non-existent physical address.

0 Likes