Statistics
| Branch: | Revision:

root / hw / 9pfs @ 7834cf77

Latest revisions

# Date Author Comment
7834cf77 09/09/2011 12:37 pm Aneesh Kumar K.V

hw/9pfs: add 9P2000.L unlinkat operation

unlinkat - Remove a directory entry

size4 Tunlinkat tag2 dirfid4 name[s] flag4
size4 Runlinkat tag2

older Tremove have the below request format

size4 Tremove tag2 fid4

The remove message is used to remove a directory entry either file or directory...

89bf6593 09/09/2011 12:16 pm Aneesh Kumar K.V

hw/9pfs: add 9P2000.L renameat operation

rename - change name of file or directory

size4 Trenameat tag2 olddirfid4 oldname[s] newdirfid4 newname[s]
size4 Rrenameat tag2

older Trename have the below request format

size4 Trename tag2 fid4 newdirfid4 name[s]...

10e72295 09/09/2011 12:16 pm Aneesh Kumar K.V

hw/9pfs: Fix memleaks in some 9p operation

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

25427ec1 09/09/2011 12:15 pm Aneesh Kumar K.V

hw/9pfs: Initialize rest of qid field to zero.

Since qid is allocated out of stack we need to intialize
the field to zero. Otherwise we will send wrong qid value
to client.

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

407fee0f 09/09/2011 12:15 pm Aneesh Kumar K.V

hw/9pfs: Update the fidp path before opendir

We need to update the fidp path before opendir. Since we don't
use the fid returned by mkdir, earlier code should not have
much issue. We do a double v9fs_string_copy here. The later patch
cleanup the entire function....

63236c15 09/08/2011 04:52 pm Anthony Liguori

Merge remote-tracking branch 'aneesh/for-upstream-3' into staging

541dc0d4 09/03/2011 01:45 pm Stefan Weil

Use new macro QEMU_PACKED for packed structures

Most changes were made using these commands:

git grep -la '__attribute__((packed))'|xargs perl -pi -e 's/__attribute__\(\(packed\)\)/QEMU_PACKED/'
git grep -la '__attribute__ ((packed))'|xargs perl -pi -e 's/__attribute__ \(\(packed\)\)/QEMU_PACKED/'...

9b54ffaa 08/25/2011 05:46 pm Aneesh Kumar K.V

hw/9pfs: Use v9fs_do_close instead of close

we should use the local abstraction instead of
directly calling close.

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

95f65511 08/25/2011 05:46 pm Aneesh Kumar K.V

hw/9pfs: Add directory reclaim support

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

b9cb88b0 08/25/2011 05:46 pm Aneesh Kumar K.V

hw/9pfs: mark directories also as un-reclaimable on unlink

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

View revisions

Also available in: Atom