I want to trap some ldr,str instruction in guest VM for debug. Therefore, I have to emulate guest ldr,str in host. Without guest VA to host VA, I cannot emulate ldr,str instruction in host.
Thank you
-Jack
-------- 原始郵件 --------
寄件者:Peter Maydell
傳送日期:Fri, 15 Jan 2016 18:02:23 +0800
收件者:hiwu@xxxxxxxxxxxxxxx
副本:kvmarm@xxxxxxxxxxxxxxxxxxxxx
主旨:Re: ARM KVM guest virtual address to host virtual address Look up
> How to lookup host virtual address by guest virtual address ?
> Is there any function to do guest page table walk?
There is no single function to do this (depending on what
bit of QEMU this is, we might either try a TLB access to
see if we can get guest-virtual to host-virtual, with a
slow-path fallback for TLB misses, or we might do guest
virtual to guest physical and then look up whether that
is RAM or a device and behave accordingly). What are you
actually trying to do?
thanks
-- PMM
_______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/mailman/listinfo/kvmarm