Statistics
| Branch: | Revision:

root / hw / 9pfs @ f6b3c976

# Date Author Comment
f6b3c976 08/22/2011 07:14 am Aneesh Kumar K.V

hw/9pfs: Add yield support for pwritev coroutine

Signed-off-by: Aneesh Kumar K.V <>

ffd66876 08/22/2011 07:14 am Venkateswararao Jujjuri (JV)

hw/9pfs: Update v9fs_link to use coroutines

Signed-off-by: Venkateswararao Jujjuri <>
Signed-off-by: Aneesh Kumar K.V <>

c6c069b0 08/22/2011 07:14 am Venkateswararao Jujjuri

hw/9pfs: Add yield support for link coroutine

Signed-off-by: Venkateswararao Jujjuri <>
Signed-off-by: Aneesh Kumar K.V <>

3fa2a8d1 08/22/2011 07:14 am Venkateswararao Jujjuri

hw/9pfs: Update v9fs_symlink to use coroutines

Signed-off-by: Venkateswararao Jujjuri <>
Signed-off-by: Aneesh Kumar K.V <>

02ac7a34 08/22/2011 07:14 am Venkateswararao Jujjuri

hw/9pfs: Add yield support for symlin coroutine

Signed-off-by: Venkateswararao Jujjuri <>
Signed-off-by: Aneesh Kumar K.V <>

baaa86d9 08/22/2011 07:14 am Venkateswararao Jujjuri

hw/9pfs: Update v9fs_create to use coroutines

Signed-off-by: Venkateswararao Jujjuri <>
Signed-off-by: Aneesh Kumar K.V <>

4e9ad444 08/22/2011 07:14 am Aneesh Kumar K.V

hw/9pfs: Update v9fs_fsync to use coroutines

Signed-off-by: Aneesh Kumar K.V <>

4743d1f5 08/22/2011 07:14 am Aneesh Kumar K.V

hw/9pfs: Add yield support for fsync coroutine

Signed-off-by: Aneesh Kumar K.V <>

c540ee51 08/22/2011 07:14 am Aneesh Kumar K.V

hw/9pfs: Update v9fs_clunk to use coroutines

Signed-off-by: Aneesh Kumar K.V <>

bed4352c 08/22/2011 07:14 am Aneesh Kumar K.V

hw/9pfs: Add yeild support for clunk related coroutine

This include lsetxattr, lremovexattr, closedir and close.

Signed-off-by: Aneesh Kumar K.V <>

3cc19c0c 08/22/2011 06:53 am Aneesh Kumar K.V

hw/9pfs: Update v9fs_walk to use coroutines

Signed-off-by: Aneesh Kumar K.V <>

d8e0c29e 08/22/2011 06:52 am Aneesh Kumar K.V

hw/9pfs: Update v9fs_stat to use coroutines

Signed-off-by: Aneesh Kumar K.V <>

e4de4232 08/22/2011 06:51 am Venkateswararao Jujjuri

hw/9pfs: Add yield support for open2 coroutine

Signed-off-by: Venkateswararao Jujjuri <>
Signed-off-by: Aneesh Kumar K.V <>

36f8981f 08/22/2011 06:51 am Venkateswararao Jujjuri

hw/9pfs: Update v9fs_lcreate to use coroutines

Signed-off-by: Venkateswararao Jujjuri <>
Signed-off-by: Aneesh Kumar K.V <>

f6b7f0ab 08/22/2011 06:49 am Aneesh Kumar K.V

hw/9pfs: Add yield support for open and opendir coroutine

Signed-off-by: Aneesh Kumar K.V <>

857bc158 08/22/2011 06:49 am Aneesh Kumar K.V

hw/9pfs: Update v9fs_open to use coroutines

Signed-off-by: Aneesh Kumar K.V <>

e4e414a4 08/22/2011 06:48 am Aneesh Kumar K.V

hw/9pfs: Update v9fs_getlock to use coroutines

Signed-off-by: Aneesh Kumar K.V <>

03feb1e1 08/22/2011 06:44 am Aneesh Kumar K.V

hw/9pfs: Add yeild support for fstat coroutine

Signed-off-by: Aneesh Kumar K.V <>

0c27bf2a 08/22/2011 06:44 am Aneesh Kumar K.V

hw/9pfs: Update v9fs_lock to use coroutines

Signed-off-by: Aneesh Kumar K.V <>

7267c094 08/21/2011 07:01 am Anthony Liguori

Use glib memory allocation and free functions

qemu_malloc/qemu_free no longer exist after this commit.

Signed-off-by: Anthony Liguori <>

2a487e05 08/08/2011 09:21 pm Aneesh Kumar K.V

hw/9pfs: Add yeild support to rename coroutine

Signed-off-by: Aneesh Kumar K.V <>

930b1e17 08/08/2011 09:21 pm Aneesh Kumar K.V

hw/9pfs: Update vfs_rename to use coroutines

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 <>

ae1ef571 08/08/2011 09:20 pm Venkateswararao Jujjuri

hw/9pfs: Update v9fs_remove to use coroutines

Signed-off-by: Venkateswararao Jujjuri <>
Signed-off-by: Aneesh Kumar K.V <>

b4b1537b 08/08/2011 09:18 pm Venkateswararao Jujjuri

hw/9pfs: Add yield support for remove

Signed-off-by: Venkateswararao Jujjuri <>
Signed-off-by: Aneesh Kumar K.V <>

e84861f7 08/08/2011 09:16 pm Venkateswararao Jujjuri

hw/9pfs: Update mkdir to use coroutines

Signed-off-by: Venkateswararao Jujjuri "<>
Signed-off-by: Aneesh Kumar K.V <>

d0884642 08/08/2011 09:14 pm Venkateswararao Jujjuri

hw/9pfs: Add yield support for mkdir coroutine

Signed-off-by: Venkateswararao Jujjuri <>
Signed-off-by: Aneesh Kumar K.V <>

1b733fed 08/08/2011 09:12 pm Aneesh Kumar K.V

hw/9pfs: Update v9fs_mknod to use coroutines

Signed-off-by: Aneesh Kumar K.V <>

94840ff9 08/08/2011 09:12 pm Aneesh Kumar K.V

hw/9pfs: Add yield support to statfs coroutine

Signed-off-by: Aneesh Kumar K.V <>

88a4763e 08/08/2011 09:12 pm Aneesh Kumar K.V

hw/9pfs: Update v9fs_statfs to use coroutines

Signed-off-by: Aneesh Kumar K.V <>

172198d4 08/08/2011 09:12 pm Aneesh Kumar K.V

hw/9pfs: Add yield support to lstat coroutine

Signed-off-by: Aneesh Kumar K.V <>

8db21ce7 08/08/2011 09:12 pm Aneesh Kumar K.V

hw/9pfs: Update v9fs_getattr to use coroutines

Signed-off-by: Aneesh Kumar K.V <>

4011ead2 08/08/2011 09:12 pm Aneesh Kumar K.V

hw/9pfs: Add yield support to setattr related coroutines

This include chmod, utimensat, chown and truncate.

Signed-off-by: Aneesh Kumar K.V <>

65c05f9a 08/08/2011 09:12 pm Aneesh Kumar K.V

hw/9pfs: Update v9fs_setattr to use coroutines

Signed-off-by: Aneesh Kumar K.V <>

1ceffa54 08/08/2011 09:12 pm Aneesh Kumar K.V

hw/9pfs: Add yield support to xattr related coroutine

This include llistxattr and lgetxattr.

Signed-off-by: Aneesh Kumar K.V <>

670185a6 08/08/2011 09:12 pm Aneesh Kumar K.V

hw/9pfs: Update v9fs_xattrwalk to coroutines

Signed-off-by: Aneesh Kumar K.V <>

f10ff58d 08/08/2011 09:12 pm Aneesh Kumar K.V

hw/9pfs: Update v9fs_xattrcreate to use coroutines

Signed-off-by: Aneesh Kumar K.V <>

00ace8c5 08/08/2011 09:12 pm Aneesh Kumar K.V

hw/9pfs: Add yield support to mknod coroutine

Signed-off-by: Aneesh Kumar K.V <>

dcb9dbe3 08/08/2011 09:12 pm Aneesh Kumar K.V

hw/9pfs: Add yield support for readdir related coroutines

This include readdir, telldir, seekdir, rewinddir.

Signed-off-by: Aneesh Kumar K.V <>

5e4eaa79 08/08/2011 09:12 pm Aneesh Kumar K.V

hw/9pfs: Update v9fs_readdir to use coroutines

Signed-off-by: Aneesh Kumar K.V <>

7a5ca31e 08/08/2011 09:09 pm Venkateswararao Jujjuri

hw/9pfs: Update v9fs_readlink to use coroutine

Signed-off-by: Venkateswararao Jujjuri <>
Signed-off-by: Aneesh Kumar K.V <>

86e42d74 08/08/2011 09:03 pm Venkateswararao Jujjuri (JV)

hw/9pfs: Add yeild support for readlink

Signed-off-by: Venkateswararao Jujjuri (JV) <>
Signed-off-by: Aneesh Kumar K.V <>

39c0564e 08/08/2011 10:35 am Venkateswararao Jujjuri (JV)

[virtio-9p] Add infrastructure to support glib threads and coroutines.

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 <>....

ff06030f 08/08/2011 10:35 am Venkateswararao Jujjuri (JV)

[virtio-9p] Change all pdu handlers to coroutines.

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...

befeac45 06/15/2011 06:27 pm Michael S. Tsirkin

Merge remote-tracking branch 'origin/master' into pci

Conflicts:
hw/virtio-pci.c

93e0597e 06/08/2011 08:15 pm Anthony Liguori

Merge remote-tracking branch 'jvrao/for-anthony' into staging

9694b5d1 06/04/2011 12:39 am Stefan Weil

virtio-9p: Remove statement without effect (fix warning from cppcheck)

cppcheck report:
virtio-9p.c:197: warning: Redundant assignment of "flags" to itself

Signed-off-by: Stefan Weil <>
Reviewed-by: Venkateswararao Jujjuri <>...

5c3234c6 06/01/2011 08:25 pm Aneesh Kumar K.V

hw/9pfs: Don't crash when we get a request with not supported 9p operation

Return EOPNOTSUPP as error

Signed-off-by: Aneesh Kumar K.V <>
Signed-off-by: Venkateswararao Jujjuri (JV) <>

faa44e3d 06/01/2011 08:25 pm Venkateswararao Jujjuri (JV)

[virtio-9p] Make rpath thread safe

Current rpath inline function is heavily used in all system calls.
This function has a static buffer making it a non-thread safe function.
This patch introduces new thread-safe routine and makes use of it.

Signed-off-by: Venkateswararao Jujjuri "<>

873c3213 06/01/2011 08:25 pm Stefan Weil

virtio-9p: Use relative includes for files in hw

Commit 353ac78d495ef976242abd868f68d78420861c2c moved the files
without fixing the include paths. It used a modified CFLAGS
to add hw to the include search path, but this breaks builds
where the user wants to set special CFLAGS. Long include paths...

f4f61d27 06/01/2011 08:24 pm Aneesh Kumar K.V

virtio-9p: Move device specific code to virtio-9p-device

Signed-off-by: Aneesh Kumar K.V <>
Signed-off-by: Venkateswararao Jujjuri (JV) <>

9fe1ebeb 06/01/2011 08:23 pm Aneesh Kumar K.V

virtio-9p: Move 9p device registration into virtio-9p.c

This patch move the 9p device registration into its own file

Signed-off-by: Aneesh Kumar K.V <>
Signed-off-by: Venkateswararao Jujjuri (JV) <>

936532a4 06/01/2011 08:23 pm Malahal Naineni

[virtio-9p] Stop renaming files with similar name!

v9fs_complete_rename() mistakenly renames files with similar name
as we don't check if the matched name is really an offspring.

Signed-off-by: Malahal Naineni <>
Signed-off-by: Venkateswararao Jujjuri (JV) <>

4f8dee2d 04/27/2011 06:27 pm Harsh Prateek Bora

v9fs_walk: As per 9p2000 RFC, MAXWELEM >= nwnames >= 0.

The nwnames field in TWALK message is assumed to be >=0 and <= MAXWELEM
which is defined as macro P9_MAXWELEM (16) in virtio-9p.h as per 9p2000
RFC. Appropriate changes are required in V9fsWalkState and v9fs_walk....

f35bde2f 04/27/2011 06:27 pm Harsh Prateek Bora

hw/virtio-9p-local.c: Remove unnecessary null char in symlink file

This patch removes the addition of null char in symlink file
which is being appended to file in case of mapped security model.
Without this patch, the extra null char causes LTP testcase lstat03...

1d810aeb 04/27/2011 06:26 pm M. Mohan Kumar

virtio-9p: Bugfix to send correct iounit

LCREATE function packs address of iounit in the pdu, fix that to send
actual iounit itself.

Signed-off-by: M. Mohan Kumar <>
Acked-by: Aneesh Kumar K.V <>
Signed-off-by: Venkateswararao Jujjuri <>

a0994761 04/27/2011 06:26 pm Aneesh Kumar K.V

virtio-9p: removexattr on default acl should return 0

If we don't have default acl, removexattr on default acl
should return 0

Signed-off-by: Aneesh Kumar K.V <>
Signed-off-by: Venkateswararao Jujjuri <>

39792515 04/27/2011 06:25 pm Aneesh Kumar K.V

virtio-9p: Print the pdu details on return

Signed-off-by: Aneesh Kumar K.V <>
Signed-off-by: Venkateswararao Jujjuri <>

353ac78d 04/27/2011 06:24 pm Aneesh Kumar K.V

virtio-9p: move 9p files around

Now that we start adding more files related to 9pfs
it make sense to move them to a separate directory

Signed-off-by: Aneesh Kumar K.V <>
Signed-off-by: Venkateswararao Jujjuri <>