Re: [Qemu-devel] Para-virtualized ram-based filesystem?

2011-04-17 Thread Avi Kivity
On 04/18/2011 06:28 AM, Ritchie, Stuart wrote: On 4/17/11 5:43 AM, "Avi Kivity" wrote: >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 >> >us

Re: [Qemu-devel] Para-virtualized ram-based filesystem?

2011-04-17 Thread Ritchie, Stuart
On 4/16/11 1:52 AM, "Stefan Hajnoczi" wrote: >On Sat, Apr 16, 2011 at 1:27 AM, Brad Hards wrote: >> On Saturday 16 April 2011 09:58:32 Ritchie, Stuart wrote: >>> How does that sound? >> As a general user: Confusing. >> >> Is there a concrete example (specific applications, specific >>performance

Re: [Qemu-devel] Para-virtualized ram-based filesystem?

2011-04-17 Thread Ritchie, Stuart
On 4/17/11 5:43 AM, "Avi Kivity" wrote: >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

Re: [Qemu-devel] Para-virtualized ram-based filesystem?

2011-04-17 Thread Avi Kivity
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 wit

Re: [Qemu-devel] Para-virtualized ram-based filesystem?

2011-04-16 Thread Stefan Hajnoczi
Resent because Stuart dropped from the recipients list. On Sat, Apr 16, 2011 at 9:52 AM, Stefan Hajnoczi wrote: > On Sat, Apr 16, 2011 at 1:27 AM, Brad Hards wrote: >> On Saturday 16 April 2011 09:58:32 Ritchie, Stuart wrote: >>> How does that sound? >> As a general user: Confusing. >> >> Is the

Re: [Qemu-devel] Para-virtualized ram-based filesystem?

2011-04-16 Thread Stefan Hajnoczi
On Sat, Apr 16, 2011 at 1:27 AM, Brad Hards wrote: > On Saturday 16 April 2011 09:58:32 Ritchie, Stuart wrote: >> How does that sound? > As a general user: Confusing. > > Is there a concrete example (specific applications, specific performance > issues, > specific requirements) that you can share

Re: [Qemu-devel] Para-virtualized ram-based filesystem?

2011-04-15 Thread Brad Hards
On Saturday 16 April 2011 09:58:32 Ritchie, Stuart wrote: > How does that sound? As a general user: Confusing. Is there a concrete example (specific applications, specific performance issues, specific requirements) that you can share? Brad

Re: [Qemu-devel] Para-virtualized ram-based filesystem?

2011-04-15 Thread Ritchie, Stuart
On 4/15/11 2:43 PM, "Anthony Liguori" wrote: >On 04/15/2011 04:09 PM, Ritchie, Stuart wrote: >> 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

Re: [Qemu-devel] Para-virtualized ram-based filesystem?

2011-04-15 Thread Anthony Liguori
On 04/15/2011 04:09 PM, Ritchie, Stuart wrote: 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

[Qemu-devel] Para-virtualized ram-based filesystem?

2011-04-15 Thread Ritchie, Stuart
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 g