[meta-intel] [PATCH] meta-intel: enable qemu and select more suitable virtual machine options

Patrick Ohly patrick.ohly at intel.com
Thu Jan 19 05:10:05 PST 2017


On Mon, 2017-01-16 at 12:05 +0100, Patrick Ohly wrote:
> I was wondering where virtio in Poky came from and thus had a second
> look. It's from OE-core's
> meta/recipes-kernel/linux/linux-yocto_4.8.bb:
> KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc"
> 
> It's a bit surprising that the "qemuall" override is active. That comes
> from meta/conf/machine/include/qemu.inc, which got added as include in
> this patch primarily because it enables building qemu.
> 
> That it also makes the resulting machine work better under qemu was not
> intended, but arguably is useful - if you guys agree that the kernel
> should be configured to also work on virtual machines.

This needs further investigations, please don't merge the patch.

I now ran into a case where enabling the qemuall override has a
potentially undesirable effect: in connman-conf.bb it is used to install
a special service which configures the wired connection so that it works
when booted under qemu.

In a nutshell, enabling "qemuall" seems to mean "this *will* run under
runqemu", and not "this *might* run under runqemu".

I'll change the meta-intel patch so that it does something useful for
running under qemu without the qemuall override. Getting the network up
might be tricky :-/

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.





More information about the meta-intel mailing list