Bug 12343

Summary: Let QEMU_USE_KVM can be set to 1
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Robert Yang <liezhi.yang>
Component: coreAssignee: Robert Yang <liezhi.yang>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: juro.bystricky, meta.mr.watcher, meta.watcher, richard.purdie
Version: 2.5   
Target Milestone: 2.5 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description Robert Yang 2017-11-14 01:10:51 UTC
It only can be set to "True", which is not common in oe, e.g.:

QEMU_USE_KVM = "True" # works
QEMU_USE_KVM = "1" # Nothing, does't work, this would surprise the user.

We can make it work with both 1 and True.
Comment 1 Juro Bystricky 2017-11-15 22:52:40 UTC
I concur, it is an easy fix. I also got burned by the assumption "1" would work ....