Re: [Qemu-devel] [PATCH -V3 2/8] hw/9pfs: Add file descriptor reclaim support

2011-03-15 Thread Aneesh Kumar K. V
On Mon, 14 Mar 2011 10:13:59 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Sun, Mar 13, 2011 at 6:57 PM, Aneesh Kumar K. V aneesh.ku...@linux.vnet.ibm.com wrote: On Sun, 13 Mar 2011 16:08:29 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Sat, Mar 5, 2011 at 5:52 PM, Aneesh

Re: [Qemu-devel] [PATCH -V3 7/8] hw/9pfs: Add new virtfs option cache=none to skip host page cache

2011-03-15 Thread Aneesh Kumar K. V
On Sun, 13 Mar 2011 20:57:12 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Sun, Mar 13, 2011 at 7:04 PM, Aneesh Kumar K. V aneesh.ku...@linux.vnet.ibm.com wrote: On Sun, 13 Mar 2011 17:23:50 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Sat, Mar 5, 2011 at 5:52 PM, Aneesh

Re: [Qemu-devel] [PATCH -V3 7/8] hw/9pfs: Add new virtfs option cache=none to skip host page cache

2011-03-15 Thread Aneesh Kumar K. V
On Mon, 14 Mar 2011 10:20:57 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Sun, Mar 13, 2011 at 7:04 PM, Aneesh Kumar K. V aneesh.ku...@linux.vnet.ibm.com wrote: On Sun, 13 Mar 2011 17:23:50 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Sat, Mar 5, 2011 at 5:52 PM, Aneesh

Re: [Qemu-devel] [PATCH -V3 1/8] hw/9pfs: Add V9fsfidmap in preparation for adding fd reclaim

2011-03-15 Thread Aneesh Kumar K. V
On Sun, 13 Mar 2011 20:53:41 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Sun, Mar 13, 2011 at 7:06 PM, Aneesh Kumar K. V aneesh.ku...@linux.vnet.ibm.com wrote: On Sun, 13 Mar 2011 15:46:29 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Sat, Mar 5, 2011 at 5:52 PM, Aneesh

Re: [Qemu-devel] [PATCH -V3 1/8] hw/9pfs: Add V9fsfidmap in preparation for adding fd reclaim

2011-03-15 Thread Aneesh Kumar K. V
On Tue, 15 Mar 2011 10:38:31 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Tue, Mar 15, 2011 at 9:20 AM, Aneesh Kumar K. V aneesh.ku...@linux.vnet.ibm.com wrote: On Sun, 13 Mar 2011 20:53:41 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Sun, Mar 13, 2011 at 7:06 PM, Aneesh

Re: [Qemu-devel] [PATCH -V3 7/8] hw/9pfs: Add new virtfs option cache=none to skip host page cache

2011-03-15 Thread Aneesh Kumar K. V
On Tue, 15 Mar 2011 11:11:46 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Tue, Mar 15, 2011 at 9:19 AM, Aneesh Kumar K. V aneesh.ku...@linux.vnet.ibm.com wrote: On Mon, 14 Mar 2011 10:20:57 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Sun, Mar 13, 2011 at 7:04 PM, Aneesh

Re: [Qemu-devel] [PATCH -V3 2/8] hw/9pfs: Add file descriptor reclaim support

2011-03-13 Thread Aneesh Kumar K. V
On Sun, 13 Mar 2011 16:08:29 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Sat, Mar 5, 2011 at 5:52 PM, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: @@ -107,7 +108,12 @@ static int v9fs_do_closedir(V9fsState *s, DIR *dir)  static int v9fs_do_open(V9fsState *s, V9fsString

Re: [Qemu-devel] [PATCH -V3 3/8] hw/9pfs: Use v9fs_do_close instead of close

2011-03-13 Thread Aneesh Kumar K. V
On Sun, 13 Mar 2011 16:10:20 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Sat, Mar 5, 2011 at 5:52 PM, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: @@ -1873,7 +1873,7 @@ static void v9fs_post_lcreate(V9fsState *s, V9fsLcreateState *vs, int err)        

Re: [Qemu-devel] [PATCH -V3 4/8] hw/9pfs: Implement syncfs

2011-03-13 Thread Aneesh Kumar K. V
On Sun, 13 Mar 2011 16:24:13 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Sat, Mar 5, 2011 at 5:52 PM, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: +static void v9fs_post_do_syncfs(V9fsState *s, V9fsPDU *pdu, int err) +{ +    if (err == -1) { +        err = -errno; +  

Re: [Qemu-devel] [PATCH -V3 5/8] hw/9pfs: Add open flag to fid

2011-03-13 Thread Aneesh Kumar K. V
On Sun, 13 Mar 2011 16:38:39 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Sat, Mar 5, 2011 at 5:52 PM, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: +static int get_dotl_openflags(int oflags) +{ +    int flags; +    /* +     * Since we can share the fd between multiple

Re: [Qemu-devel] [PATCH -V3 6/8] hw/9pfs: Add directory reclaim support

2011-03-13 Thread Aneesh Kumar K. V
On Sun, 13 Mar 2011 16:42:56 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Sat, Mar 5, 2011 at 5:52 PM, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com ---  hw/9pfs/virtio-9p.c |   21 +++--  1

Re: [Qemu-devel] [PATCH -V3 7/8] hw/9pfs: Add new virtfs option cache=none to skip host page cache

2011-03-13 Thread Aneesh Kumar K. V
On Sun, 13 Mar 2011 17:23:50 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Sat, Mar 5, 2011 at 5:52 PM, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: cache=none implies the file are opened in the host with O_SYNC open flag O_SYNC does not bypass the host page cache. It

Re: [Qemu-devel] [PATCH -V3 1/8] hw/9pfs: Add V9fsfidmap in preparation for adding fd reclaim

2011-03-13 Thread Aneesh Kumar K. V
On Sun, 13 Mar 2011 15:46:29 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Sat, Mar 5, 2011 at 5:52 PM, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com ---  hw/9pfs/virtio-9p.c |  327

Re: [Qemu-devel] [PATCH -V2 4/6] hw/9pfs: Implement syncfs

2011-03-02 Thread Aneesh Kumar K. V
On Wed, 2 Mar 2011 10:20:41 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Wed, Mar 2, 2011 at 5:05 AM, Aneesh Kumar K. V aneesh.ku...@linux.vnet.ibm.com wrote: On Tue, 1 Mar 2011 20:27:19 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Tue, Mar 1, 2011 at 6:02 PM, Aneesh Kumar K

[Qemu-devel] Re: [PATCH -V2 1/6] hw/9pfs: Add V9fsfidmap in preparation for adding fd reclaim

2011-03-01 Thread Aneesh Kumar K. V
On Tue, 1 Mar 2011 12:08:49 +0530, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: diff --git a/hw/9pfs/virtio-9p.h b/hw/9pfs/virtio-9p.h index 2ae4ce7..2f49641 100644 --- a/hw/9pfs/virtio-9p.h +++ b/hw/9pfs/virtio-9p.h @@ -101,7 +101,10 @@ enum p9_proto_version { #define P9_NOTAG

Re: [Qemu-devel] [PATCH -V2 4/6] hw/9pfs: Implement syncfs

2011-03-01 Thread Aneesh Kumar K. V
On Tue, 1 Mar 2011 10:22:07 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Tue, Mar 1, 2011 at 6:38 AM, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com ---  hw/9pfs/virtio-9p.c |   31

Re: [Qemu-devel] [PATCH -V2 4/6] hw/9pfs: Implement syncfs

2011-03-01 Thread Aneesh Kumar K. V
On Tue, 1 Mar 2011 15:59:19 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Tue, Mar 1, 2011 at 3:02 PM, Aneesh Kumar K. V aneesh.ku...@linux.vnet.ibm.com wrote: On Tue, 1 Mar 2011 10:22:07 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Tue, Mar 1, 2011 at 6:38 AM, Aneesh Kumar

Re: [Qemu-devel] [PATCH -V2 4/6] hw/9pfs: Implement syncfs

2011-03-01 Thread Aneesh Kumar K. V
On Tue, 1 Mar 2011 20:27:19 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Tue, Mar 1, 2011 at 6:02 PM, Aneesh Kumar K. V aneesh.ku...@linux.vnet.ibm.com wrote: On Tue, 1 Mar 2011 15:59:19 +, Stefan Hajnoczi stefa...@gmail.com wrote: Please explain the semantics of P9_TSYNCFS

Re: [Qemu-devel] [RFC PATCH -V1 4/4] hw/9pfs: Add open flag to fid

2011-02-28 Thread Aneesh Kumar K. V
On Mon, 28 Feb 2011 18:00:56 -0800, Venkateswararao Jujjuri (JV) jv...@linux.vnet.ibm.com wrote: On 2/5/2011 10:08 AM, Aneesh Kumar K.V wrote: We use this flag when we reopen the file. We need to track open flag because if the open request have flags like O_SYNC, we want to open the file

Re: [Qemu-devel] [RFC PATCH -V1 3/4] hw/9pfs: Implement syncfs

2011-02-28 Thread Aneesh Kumar K. V
On Mon, 28 Feb 2011 17:48:34 -0800, Venkateswararao Jujjuri (JV) jv...@linux.vnet.ibm.com wrote: On 2/5/2011 10:08 AM, Aneesh Kumar K.V wrote: Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com --- hw/9pfs/virtio-9p.c | 31 +++

Re: [Qemu-devel] [RFC PATCH -V1 1/4] hw/9pfs: Add file descriptor reclaim support

2011-02-28 Thread Aneesh Kumar K. V
On Mon, 28 Feb 2011 17:44:56 -0800, Venkateswararao Jujjuri (JV) jv...@linux.vnet.ibm.com wrote: On 2/5/2011 10:08 AM, Aneesh Kumar K.V wrote: This add file descriptor recliam to 9p server Please split it into two patches. 1. Introducing fsmap. 2. Introducing the reclaim mechanism.

Re: [Qemu-devel] Playing with virtfs.

2011-01-24 Thread Aneesh Kumar K. V
On Sun, 23 Jan 2011 13:33:14 -0600, Rob Landley r...@landley.net wrote: Using yesterday's -git, following the instructions in http://wiki.qemu.org/Documentation/9psetup (which is missing a kernel symbol, you need to add CONFIG_VIRTIO_PCI to your kernel too), I managed to mount a read-only

Re: [Qemu-devel] [PATCH 0/2] msi support for virtfs

2010-11-11 Thread Aneesh Kumar K. V
On Thu, 11 Nov 2010 12:59:24 +0100, Gerd Hoffmann kra...@redhat.com wrote: Hi, This tiny patch series adds msi support for virtfs. It's two patches only because we need a compat property to stay compatible with -stable and we don't have a pc-0.14 machine type yet, so this is added first.

Re: [Qemu-devel] [PATCH 0/2] msi support for virtfs

2010-11-11 Thread Aneesh Kumar K. V
On Thu, 11 Nov 2010 12:59:24 +0100, Gerd Hoffmann kra...@redhat.com wrote: Hi, This tiny patch series adds msi support for virtfs. It's two patches only because we need a compat property to stay compatible with -stable and we don't have a pc-0.14 machine type yet, so this is added first.

Re: [Qemu-devel] virtio-9p is not working

2010-07-22 Thread Aneesh Kumar K. V
On Wed, 21 Jul 2010 17:27:47 +0900, Dallas Lee mswpl...@gmail.com wrote: Hi, I have trying to use the virtio-9p for my linux in QEMU, but without success. Here is my option for booting my qemu: i386-softmmu/qemu -kernel bzImage -append console=ttyS0

Re: [Qemu-devel] Re: [V9fs-developer] [PATCH] virtio-9p: getattr server implementation for 9P2000.L protocol.

2010-07-01 Thread Aneesh Kumar K. V
On Thu, 1 Jul 2010 14:26:13 +0530, Sripathi Kodi sripat...@in.ibm.com wrote: On Thu, 01 Jul 2010 11:01:15 +0530 Aneesh Kumar K. V aneesh.ku...@linux.vnet.ibm.com wrote: On Fri, 28 May 2010 16:08:43 +0530, Sripathi Kodi sripat...@in.ibm.com wrote: From: M. Mohan Kumar mo...@in.ibm.com

[Qemu-devel] Re: [V9fs-developer] [PATCH] virtio-9p: getattr server implementation for 9P2000.L protocol.

2010-06-30 Thread Aneesh Kumar K. V
On Fri, 28 May 2010 16:08:43 +0530, Sripathi Kodi sripat...@in.ibm.com wrote: From: M. Mohan Kumar mo...@in.ibm.com SYNOPSIS size[4] Tgetattr tag[2] fid[4] size[4] Rgetattr tag[2] lstat[n] DESCRIPTION The getattr transaction inquires about the file identified

Re: [Qemu-devel] Re: [V9fs-developer] [PATCH] virtio-9p: getattr server implementation for 9P2000.L protocol.

2010-06-05 Thread Aneesh Kumar K. V
On Fri, 04 Jun 2010 07:59:42 -0700, Venkateswararao Jujjuri (JV) jv...@linux.vnet.ibm.com wrote: Aneesh Kumar K. V wrote: On Thu, 3 Jun 2010 18:29:02 +0530, Sripathi Kodi sripat...@in.ibm.com wrote: On Wed, 02 Jun 2010 19:49:24 +0530 Aneesh Kumar K. V aneesh.ku...@linux.vnet.ibm.com

[Qemu-devel] Re: [V9fs-developer] [PATCH] virtio-9p: getattr server implementation for 9P2000.L protocol.

2010-06-04 Thread Aneesh Kumar K. V
On Thu, 3 Jun 2010 18:29:02 +0530, Sripathi Kodi sripat...@in.ibm.com wrote: On Wed, 02 Jun 2010 19:49:24 +0530 Aneesh Kumar K. V aneesh.ku...@linux.vnet.ibm.com wrote: On Fri, 28 May 2010 16:08:43 +0530, Sripathi Kodi sripat...@in.ibm.com wrote: From: M. Mohan Kumar mo...@in.ibm.com

[Qemu-devel] Re: [V9fs-developer] [PATCH] [virtio-9p] Flush the debug message out to the log file.

2010-06-02 Thread Aneesh Kumar K. V
On Tue, 1 Jun 2010 13:23:09 -0700, Venkateswararao Jujjuri (JV) jv...@linux.vnet.ibm.com wrote: This patch fluesh the debug messages to the log file at the end of each debug message. Signed-off-by: Venkateswararao Jujjuri jv...@linux.vnet.ibm.com --- hw/virtio-9p-debug.c |2 ++ 1

[Qemu-devel] Re: [V9fs-developer] qemu:virtio-9p: [RFC] [PATCH 01/02] Send iounit to client for read/write operations

2010-06-02 Thread Aneesh Kumar K. V
On Tue, 1 Jun 2010 19:47:14 +0530, M. Mohan Kumar mo...@in.ibm.com wrote: Compute iounit based on the host filesystem block size and pass it to client with open/create response. Also return iounit as statfs's f_bsize for optimal block size transfers. Signed-off-by: M. Mohan Kumar

[Qemu-devel] Re: [V9fs-developer] [PATCH] [virtio-9p] Server side implementation for TLINK

2010-06-02 Thread Aneesh Kumar K. V
On Sun, 30 May 2010 09:40:38 -0700, Venkateswararao Jujjuri (JV) jv...@linux.vnet.ibm.com wrote: Create a link. SYNOPSIS size[4] Tlink tag[2] dfid[4] oldpath[s] newpath[s] size[4] Rlink tag[2] DESCRIPTION Create a link 'newpath' in directory pointed by dfid linking to oldpath.

[Qemu-devel] Re: [V9fs-developer] [PATCH] virtio-9p: getattr server implementation for 9P2000.L protocol.

2010-06-02 Thread Aneesh Kumar K. V
On Fri, 28 May 2010 16:08:43 +0530, Sripathi Kodi sripat...@in.ibm.com wrote: From: M. Mohan Kumar mo...@in.ibm.com SYNOPSIS size[4] Tgetattr tag[2] fid[4] size[4] Rgetattr tag[2] lstat[n] DESCRIPTION The getattr transaction inquires about the file identified

Re: [Qemu-devel] [PATCH -v2 02/22] vrtio-9p: Implement P9_TVERSION for 9P

2010-03-29 Thread Aneesh Kumar K. V
On Fri, 26 Mar 2010 11:15:47 -0500, Anthony Liguori aligu...@linux.vnet.ibm.com wrote: On 03/16/2010 04:15 AM, Aneesh Kumar K.V wrote: From: Anthony Liguorialigu...@us.ibm.com [ki...@linux.vnet.ibm.com: malloc to qemu_malloc coversion] Signed-off-by: Anthony Liguorialigu...@us.ibm.com

Re: [Qemu-devel] [PATCH -V2 00/22] virtio-9p: paravirtual file system passthrough

2010-03-23 Thread Aneesh Kumar K. V
On Tue, 23 Mar 2010 20:17:33 -0300, Luiz Capitulino lcapitul...@redhat.com wrote: On Tue, 16 Mar 2010 14:44:58 +0530 Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: Hi, This patch series adds a paravirtual file system passthrough mechanism to QEMU based on the 9P

Re: [Qemu-devel] [PATCH 04/17] virtio-9p: Implement P9_TSTAT

2010-03-04 Thread Aneesh Kumar K. V
On Wed, 3 Mar 2010 23:35:36 +0300 (MSK), malc av1...@comtv.ru wrote: On Wed, 3 Mar 2010, Anthony Liguori wrote: This get the mount to work on the guest [ki...@linux.vnet.ibm.com: malloc to qemu_malloc conversion] Signed-off-by: Anthony Liguori aligu...@us.ibm.com Signed-off-by:

[Qemu-devel] Re: [PATCH 02/17] vrtio-9p: Implement P9_TVERSION for 9P

2010-03-04 Thread Aneesh Kumar K. V
On Thu, 4 Mar 2010 11:23:24 +0200, Michael S. Tsirkin m...@redhat.com wrote: On Wed, Mar 03, 2010 at 01:00:59PM -0600, Anthony Liguori wrote: [ki...@linux.vnet.ibm.com: malloc to qemu_malloc coversion] Signed-off-by: Anthony Liguori aligu...@us.ibm.com Signed-off-by: Aneesh Kumar K.V