Re: Accessing guest memory from the host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gioacchino Mendola wrote:
hello everyone,

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?

There is no direct mapping between guest physical addresses to host physical addresses. kvm allocates memory on demand (when the guest first accesses it), so when a VM is started no memory is allocated to it. Further, kvm can swap guest memory, so the host address can disappear or move.

What are you trying to accomplish?

--
error compiling committee.c: too many arguments to function

--
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

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux