On Wed, May 20, 2009 at 4:58 AM, Rusty Russell <rusty@xxxxxxxxxxxxxxx> wrote: > The only interesting idea I can think of is exposing it to userspace, and > having that run some protocol across it for fast app <-> app comms. But if > that's your plan, you still have a lot of code the write! > > So I guess I'm missing the big picture here? Hello Rusty, For an example, you may have a look at a paper I wrote last year on achieving fast MPI-like message passing between guests over shared memory [1]. For my proof-of-concept implementation, I introduced a virtual device allowing to perform DMA between guests, something for which virtio is well suited, but also to share some memory to transfer small messages efficiently from userspace. To expose this shared memory to guests, I implemented something quite similar to what Cam is proposing which was to expose it as the memory of a pci device. I think it could be a useful addition to virtio if it allowed to abstract this. François [1] http://hal.archives-ouvertes.fr/docs/00/36/86/22/PDF/vhpc08.pdf -- 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