public inbox for kvmarm@lists.cs.columbia.edu
 help / color / mirror / Atom feed
* KVM/ARM: How to read the value of some physical address in HYP mode
@ 2015-08-17  1:59 harry
  2015-08-19 22:35 ` Christoffer Dall
  0 siblings, 1 reply; 2+ messages in thread
From: harry @ 2015-08-17  1:59 UTC (permalink / raw)
  To: kvmarm


[-- Attachment #1.1: Type: text/plain, Size: 672 bytes --]

Hi, 


I want to read the value of some physical address in HYP mode. But maybe there isn't any interface to achieve this. I hope to get some ideas to achieve this.


And now I have a simple idea, but I don't know if it is possible. When the HYP mode is init, we create a mapping from one special virtual address to some physical address. And map the va to HYP mode. When we want to read the value of some PA, we modify the page table to let the special VA map to the PA, then we read the special VA and get the value of the PA. Because I only start to research on the KVM, so I am not sure if this can work. I hope to get help to achieve this.


Thanks and regards,
Harry

[-- Attachment #1.2: Type: text/html, Size: 849 bytes --]

[-- Attachment #2: Type: text/plain, Size: 151 bytes --]

_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-19 22:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-17  1:59 KVM/ARM: How to read the value of some physical address in HYP mode harry
2015-08-19 22:35 ` Christoffer Dall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox