public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Sharing variables/memory between host and guest ?
@ 2008-07-12  0:16 Arn
  2008-07-12 12:33 ` Dor Laor
  2008-07-13 10:10 ` Avi Kivity
  0 siblings, 2 replies; 9+ messages in thread
From: Arn @ 2008-07-12  0:16 UTC (permalink / raw)
  To: kvm

How can one share memory (a few variables not necessarily a page)
between host/hypervisor and guest VM ?
Since the guest is just a process within the host, there should be
existing ways to do this.
What about using something like debugfs or sysfs, is it possible to
share variables this way ? Note, I want a system that
is fast, i.e. changes to shared variable/memory should be visible instantly.

I search the kvm-devel archives and found emails referring to "kshmem"
 but a search on the kvm-70 code turns up nothing.
There are also some emails on sharing a page but no final outcome or
what exactly to do.

Thanks
Arn

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

end of thread, other threads:[~2008-07-19  8:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-12  0:16 Sharing variables/memory between host and guest ? Arn
2008-07-12 12:33 ` Dor Laor
2008-07-12 21:03   ` Arn
2008-07-12 21:15     ` Eric Van Hensbergen
2008-07-12 21:59       ` Arn
2008-07-12 22:06         ` Eric Van Hensbergen
2008-07-13 10:10 ` Avi Kivity
2008-07-14 21:43   ` Arn
2008-07-19  8:29     ` Avi Kivity

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