Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
[Thomas: tweak option prompt]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Ethernet and can be used to create virtual switches to
"plug" both physical and virtual machines in them.
+config BR2_PACKAGE_HOST_QEMU_VIRTFS
+ bool "Virtual filesystem support"
+ help
+ Enables support for virtual filesystem in Qemu allowing
+ shared filesystem between Qemu and its emulated target.
+
endif
HOST_QEMU_DEPENDENCIES += host-vde2
endif
+ifdef ($(BR2_PACKAGE_HOST_QEMU_VIRTFS),y)
+HOST_QEMU_OPTS += --enable-virtfs
+endif
+
# Override CPP, as it expects to be able to call it like it'd
# call the compiler.
define HOST_QEMU_CONFIGURE_CMDS