Re: [Qemu-devel] [PATCH] virtio-9p: Make rpath function thread safe

2011-04-15 Thread Venkateswararao Jujjuri
On 04/15/2011 02:42 AM, Stefan Hajnoczi wrote: On Fri, Apr 15, 2011 at 10:05 AM, M. Mohan Kumar wrote: Use dynamically allocated memory to return concatenated path (fs_root and file path) instead of a static buffer. Caller has to free the memory. Signed-off-by: M. Mohan Kumar --- This patch de

Re: [Qemu-devel] [PATCH] virtio-9p: Make rpath function thread safe

2011-04-15 Thread Stefan Hajnoczi
On Fri, Apr 15, 2011 at 10:05 AM, M. Mohan Kumar wrote: > Use dynamically allocated memory to return concatenated path > (fs_root and file path) instead of a static buffer. Caller has to free > the memory. > > Signed-off-by: M. Mohan Kumar > --- > This patch depends on my chroot patchset. > http:

[Qemu-devel] [PATCH] virtio-9p: Make rpath function thread safe

2011-04-15 Thread M. Mohan Kumar
Use dynamically allocated memory to return concatenated path (fs_root and file path) instead of a static buffer. Caller has to free the memory. Signed-off-by: M. Mohan Kumar --- This patch depends on my chroot patchset. http://patchwork.ozlabs.org/patch/89033/ hw/9pfs/virtio-9p-local.c | 551 +