diff options
author | Etienne Carriere <etienne.carriere@linaro.org> | 2018-11-22 16:21:40 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-11-24 14:50:42 +0100 |
commit | e0f49e6484015351f697ab843da25b5421c23fd6 (patch) | |
tree | 0fd813d255dc69381df95b2a2bfd5a2959194a56 | |
parent | 1f1bba4a2cdb9246216157773c8a03956b2cd73d (diff) | |
download | buildroot-e0f49e6484015351f697ab843da25b5421c23fd6.tar.gz buildroot-e0f49e6484015351f697ab843da25b5421c23fd6.zip |
package/qemu: add option to enable virtual filesystem in host qemu
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
[Thomas: tweak option prompt]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r-- | package/qemu/Config.in.host | 6 | ||||
-rw-r--r-- | package/qemu/qemu.mk | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/package/qemu/Config.in.host b/package/qemu/Config.in.host index 957c7d2ae1..f99f3e05cf 100644 --- a/package/qemu/Config.in.host +++ b/package/qemu/Config.in.host @@ -67,4 +67,10 @@ config BR2_PACKAGE_HOST_QEMU_VDE2 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 diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index 5bdf390bc9..5ee6abf731 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -253,6 +253,10 @@ HOST_QEMU_OPTS += --enable-vde 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 |