Please ignore v2. This version 3 only clears up the mess in version 2. Resolves [Yocto 13336] Compared to v1, no new wic-nb image type is added (this caused problems with bitbake -c testimage).
runqemu now evaluates the QB_MACHINE setting to determine whether a wic image should be booted as a vmtype image (kernel loaded from file passed by -kernel option) or as a fstype image (kernel in image). If QB_MACHINE contains "-machine virt" runqemu passes a "-kernel" parameter to qemu. Otherwise runqemu treats the wic image as vmtype image as before. The last patch additionally allows the user to enforce one behavior by passing wic-vm or wic-fs to runqemu. One more comment on v2: The problem with v2 probably arose because I sent the series from a new email address before registering the address. The patches seemed to be lost. Half an hour after registering the new e-mail address I resent them. Then this mess appeared on the mailing list. Adrian Freihofer (4): qemurunner: fix undefined variable testimage: consider QB_DEFAULT_FSTYPE runqemu: support non-bootable wic images runqemu: add wic-fs and wic-wm paramters meta/classes/testimage.bbclass | 6 +++++- meta/lib/oeqa/utils/qemurunner.py | 1 + scripts/runqemu | 40 +++++++++++++++++++++++++++++++++------ 3 files changed, 40 insertions(+), 7 deletions(-) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
