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
SYNOPSIS
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]
DESCRIPTION
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>
vnc: use bswapNN() rather than bswap_NN()
bswap_NN() variants are not always available in CONFIG_MACHINE_BSWAP_H caseand bswapNN() are public APIs in "bswap.h".
Signed-off-by: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
vnc: tight: remove unused variable
Signed-off-by: Serge Ziryukin <ftrvxmtrx@gmail.com>Signed-off-by: Blue Swirl <blauwirbel@gmail.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 all revisions | View revisions
Also available in: Atom