Statistics
| Branch: | Revision:

root / hw / 9pfs @ ba7cb5a8

Latest revisions

# Date Author Comment
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...

View revisions

Also available in: Atom