On 01/19/2012 09:27 AM, Aneesh Kumar K.V wrote:
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
Acked-by: Venkateswararao Jujjuri
On 06/15/2011 10:35 AM, Stefan Hajnoczi wrote:
On Tue, Jun 14, 2011 at 9:12 AM, M. Mohan Kumar wrote:
[RFC PATCH] virtio-9p: Use clone approach to fix TOCTOU vulnerability
In passthrough security model, following a symbolic link in the server
side could result in TOCTTOU vulnerability.
Use cl
On 06/10/2011 05:20 AM, Daniel P. Berrange wrote:
On Fri, Jun 10, 2011 at 05:36:13PM +0530, Aneesh Kumar K.V wrote:
On Fri, 10 Jun 2011 11:33:05 +0100, "Daniel P. Berrange"
wrote:
I've been doing some work trying to run QEMU guests with a root filesystem
exported from the host using virtio 9p
On 06/06/2011 10:16 AM, Aneesh Kumar K.V wrote:
Signed-off-by: Aneesh Kumar K.V
Reviewed-by: Venkateswararao Jujjuri
---
hw/9pfs/codir.c |9 +
hw/9pfs/virtio-9p.c | 26 --
2 files changed, 33 insertions(+), 2 deletions(-)
diff --git a/hw/9pfs
On 06/06/2011 10:16 AM, Aneesh Kumar K.V wrote:
we should use the local abstraction instead of
directly calling close.
Let us fold this also into our coroutine patches.
- JV
Signed-off-by: Aneesh Kumar K.V
---
hw/9pfs/virtio-9p.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(
On 06/06/2011 10:16 AM, Aneesh Kumar K.V wrote:
Signed-off-by: Aneesh Kumar K.V
Minor comments below; I think this looks good.
Reviewed-by : Venkateswararao Jujjuri
---
hw/9pfs/codir.c|4 +-
hw/9pfs/cofile.c | 19 -
hw/9pfs/virtio-9p-coth.h |4
On 06/06/2011 10:16 AM, Aneesh Kumar K.V wrote:
On interrupted syscall on client we can end up having fid
being acted upon by glib pool but still get a clunk request on that
Couple of comments below.
- JV
Signed-off-by: Aneesh Kumar K.V
---
hw/9pfs/virtio-9p.c | 139 ++
On 06/06/2011 10:16 AM, Aneesh Kumar K.V wrote:
Signed-off-by: Aneesh Kumar K.V
Just one minor issue below; otherwise
Reviewed-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 205 +++
hw/9pfs/virtio-9p.h |7 ++
2 files ch
Anthony, can you please pull this?
Thanks,
JV
On 06/01/2011 10:33 AM, Venkateswararao Jujjuri wrote:
The following changes since commit
578c7b2ca8ee9e97fa8693b1a83d517e8e3f962e:
Juha Riihim?ki (1):
audio: fix integer overflow expression
are available in the git repository at
files with similar name!
Stefan Weil (1):
virtio-9p: Use relative includes for files in hw
Venkateswararao Jujjuri (JV) (1):
[virtio-9p] Make rpath thread safe
Makefile.objs | 11 ++-
Makefile.target|4 +-
fsdev/file-op-9p.h |7
On 04/27/2011 04:46 AM, Aneesh Kumar K.V wrote:
This patch move the 9p device registration into its own file
All other PCI devices registration is in this file. Not sure the need to
move 9p alone.
Also s390x doesn't support PCI..hence this breaks the s390x build.
Thanks,
JV
Signed-off-by:
On 05/31/2011 08:31 AM, Venkateswararao Jujjuri wrote:
Please hold on this request. Adding one more patch. Will send a new request.
Thanks,
JV
The following changes since commit
b1d7d2b93a1d6b2d2848b616cc35acdf521c923c:
Anthony Liguori (1):
Merge remote-tracking branch 'ste
virtio-9p: Use relative includes for files in hw
Venkateswararao Jujjuri (JV) (1):
[virtio-9p] Make rpath thread safe
Makefile.objs |9 +-
Makefile.target|4 +-
fsdev/file-op-9p.h |7 --
fsdev/qemu-fsdev-dummy.c | 20
On 05/28/2011 09:51 AM, Aneesh Kumar K.V wrote:
On Fri, 27 May 2011 20:27:11 +0200, Stefan Weil wrote:
Am 29.04.2011 02:46, schrieb Peter Maydell:
On 28 April 2011 21:49, Anthony Liguori wrote:
On 04/28/2011 03:02 PM, Stefan Weil wrote:
-$(addprefix 9pfs/, $(9pfs-nested-y)): CFLAGS += -
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/cofile.c | 16
hw/9pfs/virtio-9p-coth.h |1 +
2 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/hw/9pfs/cofile.c b/hw/9pfs/cofile.c
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 314 +++
1 files changed, 117 insertions(+), 197 deletions(-)
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c
From: Harsh Prateek Bora
This patch is created on top of Aneesh's coroutine work.
LTP test for readdir passed.
Signed-off-by: Harsh Prateek Bora
Signed-off-by: Venkateswararao Jujjuri "
---
fsdev/file-op-9p.h|2 +-
hw/9pfs/codir.c |7 ---
hw/9pfs/virtio
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 265 --
hw/9pfs/virtio-9p.h | 10 --
2 files changed, 64 insertions(+), 211 deletions(-)
diff --git a/hw/9pfs/v
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 79 +++---
1 files changed, 24 insertions(+), 55 deletions(-)
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c
index 2cb406b..a43a58f 100644
--- a/hw/9pfs/virtio-9p.c
+++
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 147 --
1 files changed, 59 insertions(+), 88 deletions(-)
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c
From: Aneesh Kumar K.V
This include lsetxattr, lremovexattr, closedir and close.
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/codir.c | 16
hw/9pfs/cofile.c | 16
hw/9pfs/coxattr.c|
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/cofile.c | 17 +
hw/9pfs/virtio-9p-coth.h |2 ++
2 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/hw/9pfs/cofile.c b/hw/9pfs/cofile.c
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/cofs.c | 20
hw/9pfs/virtio-9p-coth.h |2 ++
hw/9pfs/virtio-9p.c | 31 ---
3 files changed, 30 insertions(+), 23 deletions(-)
diff --git a/hw/9pfs/cofs.c b/hw/9pfs/c
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/cofile.c | 17 +
hw/9pfs/virtio-9p-coth.h |2 ++
2 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/hw/9pfs/cofile.c b/hw/9pfs/cofile.c
so that we can avoid V9fsCreateState and additional malloc()s.
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 149 ++-
hw/9pfs/virtio-9p.h | 14 -
2 files changed, 65 insertions(+), 98 deletions(-)
diff --git
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 61 +-
1 files changed, 21 insertions(+), 40 deletions(-)
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c
Rearrange the code so that we can avoid V9fsSymlinkState
and additional malloc()s.
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 45 +
hw/9pfs/virtio-9p.h | 12
2 files changed, 21 insertions(+), 36 dele
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 229 ---
1 files changed, 72 insertions(+), 157 deletions(-)
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c
index d1733ca..14eefac 100644
--- a/hw/9pfs/virtio-9p.c
+++
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 13 -
1 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c
index b378fc8..06a71fb 100644
--- a/hw
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 47 +++
1 files changed, 15 insertions(+), 32 deletions(-)
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c
index 9976516..8702319 100644
--- a/hw/9pfs/virtio-9p.c
+++ b/hw
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 205 +--
hw/9pfs/virtio-9p.h | 13 ---
2 files changed, 68 insertions(+), 150 deletions(-)
diff --git a/hw/9pfs/v
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 44
hw/9pfs/virtio-9p.h | 10 --
2 files changed, 20 insertions(+), 34 deletions(-)
diff --git a/hw/9pfs/v
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 24
1 files changed, 8 insertions(+), 16 deletions(-)
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c
index 0227694..d1733ca 100644
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/cofile.c | 21 +
hw/9pfs/virtio-9p-coth.h |1 +
hw/9pfs/virtio-9p.c | 45 +
3 files changed, 35 insertions(+), 32 deletions(-)
diff --git a/hw/9pfs/cofil
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/cofile.c | 14 ++
hw/9pfs/virtio-9p-coth.h |1 +
hw/9pfs/virtio-9p.c | 17 -
3 files changed, 19 insertions(+), 13 deletions(-)
diff --git a/hw/9pfs/cofile.c b/hw/9pfs/cofile.c
index 26
: Venkateswararao Jujjuri "
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 43 +++
1 files changed, 7 insertions(+), 36 deletions(-)
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c
index 1e
Rearrange the code so that we can avoid V9fsLcreateState
and additional malloc()s.
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 63 --
hw/9pfs/virtio-9p.h | 11 -
2 files changed, 30 insertions(+), 44 dele
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/cofile.c | 14 ++
hw/9pfs/virtio-9p-coth.h |1 +
2 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/hw/9pfs/cofile.c b/hw/9pfs/cofile.c
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 143 +++---
1 files changed, 43 insertions(+), 100 deletions(-)
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 42 +++---
hw/9pfs/virtio-9p.h |9 -
2 files changed, 19 insertions(+), 32 deletions(-)
diff --git a/hw/9pfs/virtio
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/cofs.c | 14 ++
hw/9pfs/virtio-9p-coth.h |1 +
2 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/hw/9pfs/cofs.c b/hw/9pfs/cofs.c
index 8f
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/codir.c | 16
hw/9pfs/cofile.c | 16
hw/9pfs/virtio-9p-coth.h |2 ++
3 files changed, 34 insertions(+), 0 deletions(-)
From: Aneesh Kumar K.V
I guess TRENAME 9p operation needs an update. The 9p op should
more similar renameat. Otherwise anything other than path cannot track
the fid.
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c |
On 05/18/2011 10:37 PM, Stefan Hajnoczi wrote:
On Wed, May 18, 2011 at 7:42 PM, Venkateswararao Jujjuri
wrote:
On 05/18/2011 02:43 AM, Stefan Hajnoczi wrote:
On Tue, May 17, 2011 at 8:43 PM, Venkateswararao Jujjuri (JV)
wrote:
Signed-off-by: Venkateswararao Jujjuri "
---
Makefile
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 26 +++---
1 files changed, 7 insertions(+), 19 deletions(-)
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c
index 8dd6f7d..1e860c6 100644
--- a/hw/9pfs/virtio-9p.c
+++ b/hw/9pfs/virtio
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/cofs.c | 21 +
hw/9pfs/virtio-9p-coth.h |2 ++
2 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/hw/9pfs/cofs.c b/hw/9pfs/cofs.c
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 198 ---
1 files changed, 63 insertions(+), 135 deletions(-)
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/codir.c | 19 +++
hw/9pfs/virtio-9p-coth.h |1 +
hw/9pfs/virtio-9p.c | 28 ++--
3 files changed, 26 insertions(+), 22 deletions(-)
diff --git a/hw/9pfs/codir.c b/hw/9pfs/co
Rearrange the code so that we can avoid V9fsRemoveState
and additional malloc()s.
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 25 ++---
hw/9pfs/virtio-9p.h |6 --
2 files changed, 10 insertions(+), 21 deletions(-)
diff --git a/hw/9pfs/v
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 88 +-
1 files changed, 30 insertions(+), 58 deletions(-)
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 163 +--
hw/9pfs/virtio-9p.h |8 ---
2 files changed, 54 insertions(+), 117 deletions(-)
diff --git a/hw/9pfs/v
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 53 +--
hw/9pfs/virtio-9p.h | 11 --
2 files changed, 26 insertions(+), 38 deletions(-)
diff --git a/hw
From: Aneesh Kumar K.V
This include llistxattr and lgetxattr.
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
Makefile.objs|1 +
hw/9pfs/coxattr.c| 50 ++
hw/9pfs/virtio-9p-coth.h |3
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 92 --
hw/9pfs/virtio-9p.h | 22
2 files changed, 44 insertions(+), 70 deletions(-)
diff --git a/hw
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
Makefile.objs|2 +-
hw/9pfs/cofile.c | 32
hw/9pfs/virtio-9p-coth.h |1 +
3 files changed, 34 insertions(+), 1 deletions(-)
c
Rearrange the code so that we can avoid V9fsMkState and additional malloc()s.
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 38 +-
1 files changed, 17 insertions(+), 21 deletions(-)
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 57 +--
hw/9pfs/virtio-9p.h |8 ---
2 files changed, 19 insertions(+), 46 deletions(-)
diff --git a/hw
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/cofs.c | 14 ++
hw/9pfs/virtio-9p-coth.h |1 +
hw/9pfs/virtio-9p.c | 11 ++-
3 files changed, 17 insertions(+), 9 deletions(-)
diff --git a/hw/9pfs/cofs.c b/hw/9pfs/cofs.c
index 293e377..70
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 173 +--
1 files changed, 72 insertions(+), 101 deletions(-)
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c
From: Aneesh Kumar K.V
This include chmod, utimensat, chown and truncate.
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/cofs.c | 64 ++
hw/9pfs/virtio-9p-coth.h |4 +++
2 files change
From: Aneesh Kumar K.V
This include readdir, telldir, seekdir, rewinddir.
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
Makefile.objs|2 +-
hw/9pfs/codir.c | 66 ++
hw/9pfs/virtio-9p-c
This patch is originally made by Arun Bharadwaj for glib support.
Later Harsh Prateek Bora added coroutines support.
This version implemented with suggestions from
Stefan Hajnoczi .
Signed-off-by: Arun R Bharadwaj
Signed-off-by: Harsh Prateek Bora
Signed-off-by: Venkateswararao Jujjuri
Signed-off-by: Venkateswararao Jujjuri "
---
Makefile.objs|2 +-
hw/9pfs/cofs.c | 43 +++
hw/9pfs/virtio-9p-coth.h |1 +
hw/9pfs/virtio-9p.c | 27 ---
hw/9pfs/virtio-9p.h |2 +-
5
Rearrange the code so that we can avoid V9fsReadLinkState.
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 25 ++---
hw/9pfs/virtio-9p.h |7 ---
2 files changed, 10 insertions(+), 22 deletions(-)
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/v
This patch changes the top level handlers to coroutines and sets the base.
It will be followed up with series of patches to convert all filesystem
calls to threaded coroutines pushing all blocking clals in VirtFS out
of vcpu threads.
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virt
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/cofs.c | 14 ++
hw/9pfs/virtio-9p-coth.h |1 +
2 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/hw/9pfs/cofs.c b/hw/9pfs/cofs.c
index 3e
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 52 --
1 files changed, 13 insertions(+), 39 deletions(-)
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c
index 3e0d933..f2794d4 100644
--- a/hw/9pfs/virtio-9p.c
+++
-round1-v3
Signed-off-by: Venkateswararao Jujjuri "
In the process of preparation for coroutine threads, remove all post functions
and make the function more readable.
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 29 +
1 files changed, 9 insertions(+), 20 deletions(-)
diff --git a/hw
On 05/18/2011 03:39 AM, Stefan Hajnoczi wrote:
On Tue, May 17, 2011 at 8:43 PM, Venkateswararao Jujjuri (JV)
wrote:
I sent comments on individual patches. This is turning out nice, many
of the PDU handlers are now straight-line code that can be followed
easily.
Thanks. Yeah it is coming
On 05/18/2011 02:43 AM, Stefan Hajnoczi wrote:
On Tue, May 17, 2011 at 8:43 PM, Venkateswararao Jujjuri (JV)
wrote:
Signed-off-by: Venkateswararao Jujjuri "
---
Makefile.objs|2 +-
hw/9pfs/cofs.c | 42 ++
hw/9pfs/v
On 05/18/2011 02:31 AM, Stefan Hajnoczi wrote:
On Tue, May 17, 2011 at 8:43 PM, Venkateswararao Jujjuri (JV)
wrote:
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 32
1 files changed, 16 insertions(+), 16 deletions(-)
Please s
Rearrange the code so that we can avoid V9fsRemoveState
and additional malloc()s.
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 25 ++---
hw/9pfs/virtio-9p.h |6 --
2 files changed, 10 insertions(+), 21 deletions(-)
diff --git a/hw/9pfs/v
On 05/15/2011 09:43 AM, Sassan Panahinejad wrote:
In a lot of cases, the handling of errors was quite ugly.
This patch moves reading of errno to immediately after the system calls and
passes it up through the system more cleanly.
Also, in the case of the xattr functions (and possibly others), co
This patch is originally made by Arun Bharadwaj for glib support.
Later Harsh Prateek Bora added coroutines support.
This version implemented with suggestions from
Stefan Hajnoczi .
Signed-off-by: Arun R Bharadwaj
Signed-off-by: Harsh Prateek Bora
Signed-off-by: Venkateswararao Jujjuri
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/cofs.c | 21 +
hw/9pfs/virtio-9p-coth.h |2 ++
2 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/hw/9pfs/cofs.c b/hw/9pfs/cofs.c
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 26 +++---
1 files changed, 7 insertions(+), 19 deletions(-)
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c
index 89fe652..a79ec72 100644
--- a/hw/9pfs/virtio-9p.c
+++ b/hw/9pfs/virtio
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/cofs.c | 14 ++
hw/9pfs/virtio-9p-coth.h |1 +
hw/9pfs/virtio-9p.c | 11 ++-
3 files changed, 17 insertions(+), 9 deletions(-)
diff --git a/hw/9pfs/cofs.c b/hw/9pfs/cofs.c
index af7b78e..af
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 88 +-
1 files changed, 30 insertions(+), 58 deletions(-)
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c
Rearrange the code so that we can avoid V9fsReadLinkState.
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 25 ++---
hw/9pfs/virtio-9p.h |7 ---
2 files changed, 10 insertions(+), 22 deletions(-)
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/v
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/codir.c | 19 +++
hw/9pfs/virtio-9p-coth.h |1 +
hw/9pfs/virtio-9p.c | 28 ++--
3 files changed, 26 insertions(+), 22 deletions(-)
diff --git a/hw/9pfs/codir.c b/hw/9pfs/co
From: Aneesh Kumar K.V
This include chmod, utimensat, chown and truncate.
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/cofs.c | 64 ++
hw/9pfs/virtio-9p-coth.h |4 +++
2 files change
From: Aneesh Kumar K.V
This include llistxattr and lgetxattr.
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
Makefile.objs|1 +
hw/9pfs/coxattr.c| 50 ++
hw/9pfs/virtio-9p-coth.h |3
Signed-off-by: Venkateswararao Jujjuri "
---
Makefile.objs|2 +-
hw/9pfs/cofs.c | 42 ++
hw/9pfs/virtio-9p-coth.h |1 +
hw/9pfs/virtio-9p.c | 27 ---
hw/9pfs/virtio-9p.h |3 ++-
5
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 163 +--
hw/9pfs/virtio-9p.h |8 ---
2 files changed, 54 insertions(+), 117 deletions(-)
diff --git a/hw/9pfs/v
This patch changes the top level handlers to coroutines and sets the base.
It will be followed up with series of patches to convert all filesystem
calls to threaded coroutines pushing all blocking clals in VirtFS out
of vcpu threads.
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virt
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 52 --
1 files changed, 13 insertions(+), 39 deletions(-)
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c
index 25831c3..82e5490 100644
--- a/hw/9pfs/virtio-9p.c
+++
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/cofs.c | 14 ++
hw/9pfs/virtio-9p-coth.h |1 +
2 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/hw/9pfs/cofs.c b/hw/9pfs/cofs.c
index 6d
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 53 +--
hw/9pfs/virtio-9p.h | 11 --
2 files changed, 26 insertions(+), 38 deletions(-)
diff --git a/hw
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 198 ---
1 files changed, 63 insertions(+), 135 deletions(-)
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c
Rearrange the code so that we can avoid V9fsMkState and additional malloc()s.
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 38 +-
1 files changed, 17 insertions(+), 21 deletions(-)
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
Makefile.objs|2 +-
hw/9pfs/cofile.c | 32
hw/9pfs/virtio-9p-coth.h |1 +
3 files changed, 34 insertions(+), 1 deletions(-)
c
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 170 +--
1 files changed, 69 insertions(+), 101 deletions(-)
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c
w/qemu/aliguori/jvrao.git/shortlog/refs/heads/9p-coroutine-bh-round1
Signed-off-by: Venkateswararao Jujjuri "
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 57 +--
hw/9pfs/virtio-9p.h |8 ---
2 files changed, 19 insertions(+), 46 deletions(-)
diff --git a/hw
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 92 --
hw/9pfs/virtio-9p.h | 22
2 files changed, 44 insertions(+), 70 deletions(-)
diff --git a/hw
From: Aneesh Kumar K.V
This include readdir, telldir, seekdir, rewinddir.
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
Makefile.objs|2 +-
hw/9pfs/codir.c | 68 ++
hw/9pfs/virtio-9p-c
In the process of preparation for coroutine threads, remove all post functions
and make the function more readable.
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 25 +++--
1 files changed, 7 insertions(+), 18 deletions(-)
diff --git a/hw/9pfs/v
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 32
1 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c
index e0e7eed..cc22a1f 100644
--- a/hw/9pfs/virtio-9p.c
+++ b/hw/9pfs/virtio
1 - 100 of 422 matches
Mail list logo