Statistics
| Branch: | Revision:

root / hw / 9pfs / virtio-9p-handle.c @ 77eec1b3

History | View | Annotate | Download (17.1 kB)

# Date Author Comment
77eec1b3 12/04/2011 07:05 pm Aneesh Kumar K.V

hw/9pfs: Improve portability to older systems

handle fs driver require a set of newly added syscalls. Don't
Compile handle FS driver if those syscalls are not available.
Instead of adding #ifdef for all those syscalls we check for
open by handle syscall. If that is available then rest of the...

930b5883 11/21/2011 10:58 pm Paolo Bonzini

9p: pass dotl flags to the unlinkat method

AT_REMOVEDIR is not defined on all systems. Pass the raw flags from the
9p protocol, which are always there.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Anthony Liguori <>

f5654039 11/21/2011 10:58 pm Paolo Bonzini

9p: allow compiling the dummy virtio-9p-handle.c code on Linux

Avoid a conflict on the definition of struct file_handle by
using a replacement name.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Anthony Liguori <>

4f26f2b6 11/09/2011 08:06 pm Avi Kivity

configure: fix detection for xattr.h on modern distributions

Modern distributions place xattr.h in /usr/include/sys, and fold
libattr.so into libc. They also don't have an ENOATTR.

Make configure detect this, and add a qemu-xattr.h file that
directs the #include to the right place....

cc720ddb 10/31/2011 09:04 am Aneesh Kumar K.V

hw/9pfs: Abstract open state of fid to V9fsFidOpenState

To implement synthetic file system in Qemu we may not really
require file descriptor and Dir *. Make generic code use
V9fsFidOpenState instead.

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

edb9eb73 10/15/2011 01:00 pm Harsh Prateek Bora

hw/9pfs: Add st_gen support for handle based fs driver

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

d2042378 10/15/2011 01:00 pm Aneesh Kumar K.V

hw/9pfs: Fix build error on platform that don't support futimens

Also don't do glibc version check to find handle support. Instead
do handle syscall support in configure.

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

d3ab98e6 10/12/2011 04:41 pm Aneesh Kumar K.V

hw/9pfs: Add new virtfs option writeout=immediate skip host page cache

writeout=immediate implies the after pwritev we do a sync_file_range.

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

5f542225 09/22/2011 07:08 pm Aneesh Kumar K.V

hw/9pfs: Add handle based fs driver

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