On Mon, Feb 2, 2009 at 7:25 AM, PG <pg.lists@xxxxxxxxx> wrote: > Gioacchino Mendola wrote: >> >> I'm trying to access guest memory from the host machine (x86_64). >> In particular I would like to be able to find >> the "physical" memory addresses the host machine allocates for the guest >> vm. >> Is there any function in KVM that allows me to do that? >> Could any of you please help me clarify the subject >> or point me to some detailed documentation? >> >> > > One way is to walk the host's page directory and page tables to map the host > linear address to host physical address, assuming you know how to get the > host linear address that kvm has allocated to the guest vm. > The problem can be solved if libkvm provides the information on the memory allocated for the guests. Is there anything like that in libkvm? Thanks, Jun -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html