[virtio-9p] open should not return EBADF
When 9P server fails to create a file due to permission problems it shouldreturn EPERM. However the current 9P2000.L code returns EBADF. EBADF is NOTa valid return value from open() call.
The problem is because we do not preserve the errno variable properly. If the...
[virto-9p] Implement TLOCK
Synopsis
size[4] TLock tag[2] fid[4] flock[n] size[4] RLock tag[2] status[1]
Description
Tlock is used to acquire/release byte range posix locks on a fileidentified by given fid. The reply contains status of the lock request...
qemu-virtio9p: Implement TGETLOCK
size[4] TGetlock tag[2] fid[4] getlock[n] size[4] RGetlock tag[2] getlock[n]
TGetlock is used to test for the existence of byte range posix locks ona file identified by given fid. The reply contains getlock structure. If...
[virtio-9p] Introduce server side TFSYNC/RFSYNC for dotl
SYNOPSIS size4 Tfsync tag2 fid4
size[4] Rfsync tag[2]
DESCRIPTION
The Tfsync transaction transfers ("flushes") all modified in-core data offile identified by fid to the disk device (or other permanent storage...
qemu-virtio-9p: Implement TREADLINK operation for 9p2000.L
size[4] TReadlink tag[2] fid[4] size[4] RReadlink tag[2] target[s]
Description Readlink is used to return the contents of the symoblic link referred by fid. Contents of symboic link is returned as a...
[virtio-9p] Ignore O_DIRECT hint from client.
The O_DIRECT flag imposes alignment restrictions on the length and addressof userspace buffers and the file offset of I/Os.
While VirtFS/9P has plans to implement O_DIRECT behavior on the server,for now we will stick to a behavior like NFS by bypassing the page cache...
virtio-9p: Use layered xattr approach
We would need this to make sure we handle the mappedsecurity model correctly for different xattr names.
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
virtio-9p: Support mapped posix acl
apic: convert debug printf statements to tracepoints
Replace debug printf statements with tracepoints.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Delete write only variables
Compiling with GCC 4.6.0 20100925 produced warnings like:/src/qemu/net/tap-win32.c: In function 'tap_win32_open':/src/qemu/net/tap-win32.c:582:12: error: variable 'hThread' set but not used [-Werror=unused-but-set-variable]...
View revisions
Also available in: Atom