* [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
* [Buildroot] [PATCH 1/1] package/qemu: allow enabling virtual filesystem
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
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2018-11-24 13:54 UTC (permalink / raw)
To: buildroot
Hello,
On Thu, 22 Nov 2018 16:21:40 +0100, Etienne Carriere wrote:
> +config BR2_PACKAGE_HOST_QEMU_VIRTFS
> + bool "Enable virtual filesystem in Qemu emulator"
I've reworded this to:
bool "Virtual filesystem support"
to be more consistent with the existing VDE2 option. Indeed, indicating
"Enable" in an option is not very useful: it's pretty obvious than an
option is here to "Enable" something. Also the "in Qemu emulator" is
not very useful either, since the option being added is already a
sub-option of the main host-qemu option.
I've applied to next after this minor change. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] package/qemu: allow enabling virtual filesystem
2018-11-24 13:54 ` Thomas Petazzoni
@ 2018-11-26 7:13 ` Etienne Carriere
0 siblings, 0 replies; 3+ messages in thread
From: Etienne Carriere @ 2018-11-26 7:13 UTC (permalink / raw)
To: buildroot
On Sat, 24 Nov 2018 at 14:54, Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
>
> Hello,
>
> On Thu, 22 Nov 2018 16:21:40 +0100, Etienne Carriere wrote:
>
> > +config BR2_PACKAGE_HOST_QEMU_VIRTFS
> > + bool "Enable virtual filesystem in Qemu emulator"
>
> I've reworded this to:
>
> bool "Virtual filesystem support"
>
> to be more consistent with the existing VDE2 option. Indeed, indicating
> "Enable" in an option is not very useful: it's pretty obvious than an
> option is here to "Enable" something. Also the "in Qemu emulator" is
> not very useful either, since the option being added is already a
> sub-option of the main host-qemu option.
>
> I've applied to next after this minor change. Thanks!
Hello Thomas,
Ok, thanks a lot.
etienne
>
> Thomas
> --
> Thomas Petazzoni, CTO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
^ permalink raw reply [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