qemu-e2k/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
9p-iov-marshal.h
9p-marshal.c
9p-marshal.h
file-op-9p.h
Makefile.objs fsdev: fix compilation with VIRTIO but not VIRTIO_9P 2018-08-22 12:21:13 +02:00
qemu-fsdev-dummy.c
qemu-fsdev-opts.c
qemu-fsdev-throttle.c
qemu-fsdev-throttle.h
qemu-fsdev.c
qemu-fsdev.h
virtfs-proxy-helper.c
virtfs-proxy-helper.texi