package/qemu: virtfs needs system
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 10 Jul 2021 15:54:09 +0000 (17:54 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 16 Jul 2021 21:18:35 +0000 (23:18 +0200)
build of qemu with virtfs but without system fails since bump to version
6.0.0 in commit 6b86c9335fc3ff381878156c6243454d4b688df9:

../meson.build:1077:6: ERROR: Problem encountered: virtio-9p (virtfs) needs system emulation support

Indeed virtfs needs system support since switch to meson in
https://gitlab.com/qemu-project/qemu/-/commit/69202b406e3a42621a063c3afe80f580d343f59e

Fixes:
 - http://autobuild.buildroot.org/results/ee4b2bbc08c58dc972d285eafa43b7ad6586f270

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/qemu/Config.in.host

index 3163797067316a60b548105e191b85acd656639e..2dcf5631e5e8885e96f125772f856bad268c71a0 100644 (file)
@@ -82,6 +82,7 @@ config BR2_PACKAGE_HOST_QEMU_VDE2
 
 config BR2_PACKAGE_HOST_QEMU_VIRTFS
        bool "Virtual filesystem support"
+       depends on BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE
        help
          Enables support for virtual filesystem in Qemu allowing
          shared filesystem between Qemu and its emulated target.