[OE-core] [PATCH resend] qemuboot.conf: make cpus match built artifacts

Burton, Ross ross.burton at intel.com
Thu Jun 15 16:37:50 UTC 2017


On 15 June 2017 at 17:17, Martin Kelly <mkelly at xevo.com> wrote:

> I am no expert, but running qemu -cpu help just says:
>
> kvm32 - "Common 32-bit KVM processor"
> kvm64 - "Common 64-bit KVM processor"
>
> My best guess is that, running on qemu without kvm, both cases will be
> slow (since it's all software emulation). But, using qemu -kvm, it should
> be fast as long as you run on a native CPU that is core2duo or better, as
> the native instructions can just be exposed and passed through to the host.
> Since core2duo is very old by now, it should be fast for virtually everyone
> building on x86.
>

Right, I did some digging.  Assuming you have KVM enabled then in the
general case the -cpu option is irrelevant as the instructions are handled
natively.  -cpu just changes what CPUID flags the userspace sees, and so
this is the Right Thing To Do.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170615/98b1ee1f/attachment-0002.html>


More information about the Openembedded-core mailing list