]> code.ossystems Code Review - openembedded-core.git/commit
testimage.bbclass: request the use of kvm by default
authorAlexander Kanavin <alex.kanavin@gmail.com>
Sat, 27 Nov 2021 09:53:53 +0000 (10:53 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 29 Nov 2021 23:07:10 +0000 (23:07 +0000)
commitc2a2d475a976225e3a4eb687af6d2a62dca1d2bf
tree2075cd023b15d682be519765deae6873c3534ce7
parent8358b6e9218f9282e24fcee19a3aec17c15e7604
testimage.bbclass: request the use of kvm by default

In almost all cases there is no need to explicitly ask for it via local.conf
or similar custom config:
it is enabled in qemu_use_kvm() if target_arch == build_arch or both of them are x86 archs,
and QEMU_USE_KVM is set.

If that heuristic doesn't work, QEMU_USE_KVM = "" will do the disabling.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/testimage.bbclass