hw/9pfs: Improve portability to older systems
commitf03969b952bc2aaf9f4445b6da28aebb0a9abde5
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Sun, 4 Dec 2011 17:05:27 +0000 (4 22:35 +0530)
committerJustin M. Forbes <jforbes@redhat.com>
Tue, 10 Jan 2012 15:26:28 +0000 (10 09:26 -0600)
tree3f11ef834c1434816a4845a0eb843eb2e07131f3
parent2061800b85ddcc9b34b5ccbfaa87f7e8b94626a6
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
syscalls used by the driver should be available.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Makefile.objs
fsdev/qemu-fsdev.c
hw/9pfs/virtio-9p-handle.c