On 04/16/2011 02:58 AM, Ritchie, Stuart wrote:
>
>You can do this with ivshmem today. You give it a path to a shared
>memory file, and then there's a path in sysfs that you can mmap() in
>userspace in the guest.
Please correct me if I am wrong, but with ivshmem you must to manage your
world within a single, fixed size region. I appreciate the simplicity of
mapping the whole region all in one go, but our requirements are a bit
different. Even if you could pass multiple -device ivshmem instances,
it's still a fixed environment. Right?
You could place a read-only filesystem (say iso9660) in the region and
mount it; it will then appear as a complete filesystem.
--
error compiling committee.c: too many arguments to function