qemu/fsdev
Paolo Bonzini adbffc2074 fsdev: fix compilation with VIRTIO but not VIRTIO_9P
hw/9pfs/Makefile.objs uses CONFIG_VIRTIO_9P to guard the definition for
FileOperations structs, while fsdev/Makefile.objs uses CONFIG_VIRTIO
to guard the use.  Mismatch causes linking to fail when CONFIG_VIRTIO
is set but CONFIG_VIRTIO_9P is not.

Fix it and use if/else to clarify that the two lines are for opposite
conditions.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Fixes: b5dfdb082f
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Greg Kurz <groug@kaod.org>
Tested-by: Greg Kurz <groug@kaod.org>
Signed-off-by: Greg Kurz <groug@kaod.org>
2018-08-22 12:21:13 +02:00
..
9p-iov-marshal.c fsdev: don't allow unknown format in marshal/unmarshal 2017-05-25 10:30:13 +02:00
9p-iov-marshal.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
9p-marshal.c 9pfs: drop useless v9fs_string_null() function 2016-09-16 08:56:15 +02:00
9p-marshal.h 9pfs: fsdev: drop useless extern annotation for functions 2016-10-17 14:13:58 +02:00
Makefile.objs fsdev: fix compilation with VIRTIO but not VIRTIO_9P 2018-08-22 12:21:13 +02:00
file-op-9p.h fsdev: improve error handling of backend init 2018-01-08 11:18:23 +01:00
qemu-fsdev-dummy.c 9p/fsdev: remove obsolete references to virtio 2016-06-06 11:52:34 +02:00
qemu-fsdev-opts.c 9pfs: local: Add support for custom fmode/dmode in 9ps mapped security modes 2017-06-29 15:11:50 +02:00
qemu-fsdev-throttle.c Move include qemu/option.h from qemu-common.h to actual users 2018-02-09 13:52:16 +01:00
qemu-fsdev-throttle.h Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00
qemu-fsdev.c Move include qemu/option.h from qemu-common.h to actual users 2018-02-09 13:52:16 +01:00
qemu-fsdev.h Move include qemu/option.h from qemu-common.h to actual users 2018-02-09 13:52:16 +01:00
virtfs-proxy-helper.c use g_path_get_basename instead of basename 2018-03-06 14:01:29 +01:00
virtfs-proxy-helper.texi fsdev: spelling fix 2016-06-07 18:02:49 +03:00