[Buildroot] [PATCH 1/1] qemu: fix host virtfs option

Thomas Petazzoni thomas.petazzoni at bootlin.com
Thu Aug 1 16:02:39 UTC 2019


Hello Vincent,

On Thu,  1 Aug 2019 11:27:01 +0200
Vincent Stehlé <vincent.stehle at arm.com> wrote:

> Fix the build of host-qemu with virtfs enabled: fix a typo in makefile
> conditional and add a dependency on host-libcap.
> 
> The virtfs configuration option was added by commit e0f49e648401
> ("package/qemu: add option to enable virtual filesystem in host qemu").
> 
> Signed-off-by: Vincent Stehlé <vincent.stehle at arm.com>
> Cc: Etienne Carriere <etienne.carriere at linaro.org>
> ---
> 
> 
> Hi,
> 
> I build-tested this with a number of architectures[1], with VIRTFS=y/n and
> this looks fine.
>   During testing I remarked that VIRTFS=n is somewhat "weak", as it does
> not forcibly disable virtfs. This means qemu can still auto-detect libcap
> and libattr, and decide to auto-enable virtfs. I think this does not harm,
> but we could also add an explicit --disable-virtfs if preferred. Do not
> hesitate to let me know if I should respin with this change.

Yes, we like to explicitly disable features, when possible.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list