]> git.proxmox.com Git - qemu.git/commit
hw/9pfs: Improve portability to older systems
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Sun, 4 Dec 2011 17:05:27 +0000 (22:35 +0530)
committerAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Sun, 4 Dec 2011 17:05:27 +0000 (22:35 +0530)
commit77eec1b3f1493ca4813eae2fbf8702d1ef58f147
tree48cdfa8bf1d28afa03d72e3b6d3fc0e8f6d0d754
parent1c8a881daaca6fe0646a425b0970fb3ad25f6732
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