[virtio-9p] Make v9fs_do_utimensat accept timespec structures instead of v9stat.
Currently v9fs_do_utimensat takes a V9fsStat argument and buildstimespec structures. It sets tv_nsec values to 0 by default. Insteadof this it should take struct timespec2 and pass it down to the...
virtio-9p: Implement server side of setattr for 9P2000.L protocol.
SYNOPSIS
size[4] Tsetattr tag[2] attr[n]
size[4] Rsetattr tag[2]
DESCRIPTION
The setattr command changes some of the file status information. attr resembles the iattr structure used in Linux kernel. It...
qemu: virtio-9p: Implement statfs support in server
Implement statfs support in qemu server based on Sripathi'sinitial statfs patch.
Signed-off-by: M. Mohan Kumar <mohan@in.ibm.com>Signed-off-by: Sripathi Kodi <sripathik@in.ibm.com>Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
virtio-9p: Return correct error from v9fs_remove
Signed-off-by: Sripathi Kodi <sripathik@in.ibm.com>
In v9fs_remove_post_remove() we currently ignore the error returned bythe previous call to remove() and return an error only if freeing thefid fails. However, the client expects to see the error from remove()....
[V4] virtio-9p: readdir implementation for 9p2000.L
This patch implements the server part of readdir() implementation for9p2000.L
size[4] Treaddir tag[2] fid[4] offset[8] count[4] size[4] Rreaddir tag[2] count[4] data[count]
DESCRIPTION...
virtio-9p: Compute iounit based on host filesystem block size
Compute iounit based on the host filesystem block size and pass it toclient with open/create response. Also return iounit as statfs's f_bsizefor optimal block size transfers.
Signed-off-by: M. Mohan Kumar <mohan@in.ibm.com>...
virtio-9p: getattr server implementation for 9P2000.L protocol.
size[4] Tgetattr tag[2] fid[4] request_mask[8]
size[4] Rgetattr tag[2] lstat[n]
The getattr transaction inquires about the file identified by fid....
virtio-9p: Do not reset atime
Current code resets file's atime to 0 when there is a change in mtime. This results in resetting the atime to "1970-01-01 05:30:00". For example, truncate -s 0 filename results in changing the mtime to the truncate time, but resets the atime to "1970-01-01 05:30:00". utime...
qemu: virtio-9p: Recognize 9P2000.L protocol
Make 9P server recognize 9P2000.L protocol version
Signed-off-by: M. Mohan Kumar <mohan@in.ibm.com>Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
Fix ivshmem build on 32-bit hosts
stat() fields can be more or less anything depending on configuration, castexplicitly to uint64_t to avoid printf() format mismatches.
Signed-off-by: Avi Kivity <avi@redhat.com>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
View revisions
Also available in: Atom