public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Accessing guest memory from the host
@ 2009-02-01 15:54 Gioacchino Mendola
  2009-02-02 13:45 ` Avi Kivity
  0 siblings, 1 reply; 4+ messages in thread
From: Gioacchino Mendola @ 2009-02-01 15:54 UTC (permalink / raw)
  To: kvm

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?

Thanks in advance,

GM

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Accessing guest memory from the host
@ 2009-02-02 17:19 Gioacchino Mendola
  2009-02-06 12:39 ` Gioacchino Mendola
  0 siblings, 1 reply; 4+ messages in thread
From: Gioacchino Mendola @ 2009-02-02 17:19 UTC (permalink / raw)
  To: kvm

I would like,
with security in mind (see lkcd.sourceforge.net),
to be able to access guest -kernel- memory content from the host
(x86_64 Intel VT).

As far as I know on x86 you can only r/w access memory if you can map
it with the pagetables
(i.e. no direct physical addressing is possible).

If I am correct, I need some "sort" of pagetable mapping/translation
and I hope to be able to find some (even just partially)
useful function inside kvm/qemu.

Thanks in advance,

GM

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

end of thread, other threads:[~2009-02-06 12:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-01 15:54 Accessing guest memory from the host Gioacchino Mendola
2009-02-02 13:45 ` Avi Kivity
  -- strict thread matches above, loose matches on Subject: below --
2009-02-02 17:19 Gioacchino Mendola
2009-02-06 12:39 ` Gioacchino Mendola

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