qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Para-virtualized ram-based filesystem?
@ 2011-04-15 21:09 Ritchie, Stuart
  2011-04-15 21:43 ` Anthony Liguori
  0 siblings, 1 reply; 10+ messages in thread
From: Ritchie, Stuart @ 2011-04-15 21:09 UTC (permalink / raw)
  To: qemu-devel@nongnu.org

Hi all,

Has anyone looked at implementing a para-virtualized ram-based filesystem
for qemu?  Or any similar dynamic memory mapping techniques for running
guests?

What I had in mind would be a convenient, zero-copy mechanism for sharing
dynamically allocated, memory mapped files between host and guests.

The host provides a primary memory-mapped file system (ramfs, tmpfs,
hugetlbfs, etc), and the guest kernel and qemu use this host fs to provide
the illusion to guest applications that the filesystem is local.

The guest kernel contains a new filesystem, say call it vramfs,
implementing the various VFS handlers for a para-virt filesystem.  These
handlers call out to qemu, which in turn emulates them by invoking the
required host system calls.

Handling mmap/munmap is tricky -- but this is where the magic is.  There
does seem to be some qemu infrastructure to dynamically map memory into a
running system, though it may be designed for different requirements
(e.g., device memory).

I currently have the resources to work on this and am looking forward to
contributing my work back to the community.  I would appreciate any help
or pointers on this effort.

Cheers,
--Stuart


============================================================
The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader
of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the
intended recipient, you are hereby notified that any reproduction,
dissemination or distribution of this communication is strictly
prohibited. If you have received this communication in error,
please notify us immediately by replying to the message and
deleting it from your computer. Thank you. Tellabs
============================================================

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

end of thread, other threads:[~2011-04-18  6:31 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-15 21:09 [Qemu-devel] Para-virtualized ram-based filesystem? Ritchie, Stuart
2011-04-15 21:43 ` Anthony Liguori
2011-04-15 23:58   ` Ritchie, Stuart
2011-04-16  0:27     ` Brad Hards
2011-04-16  8:52       ` Stefan Hajnoczi
2011-04-16  8:54         ` Stefan Hajnoczi
2011-04-18  4:12         ` Ritchie, Stuart
2011-04-17 12:43     ` Avi Kivity
2011-04-18  3:28       ` Ritchie, Stuart
2011-04-18  6:31         ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).