On Fri, 2019-01-04 at 15:15 +0800, Robert Yang wrote: > Fixed: > MACHINE = "qemux86" > QEMU_USE_KVM = "qemux86" > IMAGE_CLASSES += "testimage" > > $ oe-selftest -r runqemu.RunqemuTests.test_boot_rootfs > > [snip] > File "/buildarea1/lyang1/poky/meta/lib/oe/types.py", line 122, in > boolean > raise ValueError("Invalid boolean value '%s'" % value) > ValueError: Invalid boolean value 'qemux86' > > Now QEMU_USE_KVM can only be boolean, can not contain MACHINE any > more, kvm > will be enabled if target_arch == build_arch or both of them are x86 > archs. > [...] > +def is_x86(arch): > + """ > + Check whether arch is x86 or x86_64 > + """ > + if arch.startswith('x86_') or re.match('i.*86', arch) or arch == > 'ia64': > + return True
Thanks, I've queued this for testing. I did remove the ia64 test here as ia64 is itanium which can't do x86 KVM from what I know. We may also need to add something for arm == aarch64 comparisons, I'm not 100% sure what is supproted. I've cc'd Jon on that... Cheers, Richard -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core