It should be possible to run some Zephyr images in QEMU. This is already supported in native Zephyr build environment. YP should allow it as well. $ bitbake my-zephyr-image $ runqemu zephyr.elf This feature can be used to automate testing as well.
This can be addressed by generating qemuboot.conf containing all needed info to run the Zephyr image in QEMU. One problem remains thought: runqemu ALWAYS assumes a network is present. There is no way to disable network without patching the "runqemu " itself.
Patches merged with master: https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=68e57fa7480fb7df0e7504df4ed75f2b4719786e https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=ae98051014463f71d501e686e363579081adb2ef https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8b448ab0127cfc79df8ce601e2e8b93179ebbcbc