Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/qemu: allow enabling virtual filesystem
@ 2018-11-22 15:21 Etienne Carriere
  2018-11-24 13:54 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Etienne Carriere @ 2018-11-22 15:21 UTC (permalink / raw)
  To: buildroot

Introduce builrdoot package configuration directive to enable Qemu host configuration directive

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
---
 package/qemu/Config.in.host | 6 ++++++
 package/qemu/qemu.mk        | 4 ++++
 2 files changed, 10 insertions(+)

diff --git a/package/qemu/Config.in.host b/package/qemu/Config.in.host
index 957c7d2..8840ff5 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 "Enable virtual filesystem in Qemu emulator"
+	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 709535a..8153c06 100644
--- a/package/qemu/qemu.mk
+++ b/package/qemu/qemu.mk
@@ -254,6 +254,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
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-11-26  7:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-22 15:21 [Buildroot] [PATCH 1/1] package/qemu: allow enabling virtual filesystem Etienne Carriere
2018-11-24 13:54 ` Thomas Petazzoni
2018-11-26  7:13   ` Etienne Carriere

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox