aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio/Kconfig
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2022-04-20 17:34:04 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2022-05-07 07:46:58 +0200
commit5166dabf4fe4c33e9595b0aaf2c03ccf411199e2 (patch)
tree7cff6459667e9a1b65594cc3d95637836a5faf26 /hw/virtio/Kconfig
parentd13b200253cbd9cb933a1cfead9106abd564ae4a (diff)
downloadqemu-5166dabf4fe4c33e9595b0aaf2c03ccf411199e2.zip
qemu-5166dabf4fe4c33e9595b0aaf2c03ccf411199e2.tar.gz
qemu-5166dabf4fe4c33e9595b0aaf2c03ccf411199e2.tar.bz2
build: move vhost-user-fs configuration to Kconfig
vhost-user-fs is a device and it should be possible to enable/disable it with --without-default-devices, not --without-default-features. Compute its default value in Kconfig to obtain the more intuitive behavior. In this case the configure options were undocumented, too. Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/virtio/Kconfig')
-rw-r--r--hw/virtio/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/virtio/Kconfig b/hw/virtio/Kconfig
index b642ae1..f8e235f 100644
--- a/hw/virtio/Kconfig
+++ b/hw/virtio/Kconfig
@@ -78,3 +78,8 @@ config VHOST_USER_RNG
bool
default y
depends on VIRTIO && VHOST_USER
+
+config VHOST_USER_FS
+ bool
+ default y
+ depends on VIRTIO && VHOST_USER