[OE-core] [meta-oe][PATCH v3 0/4] runqemu: support non-bootable wic images
Adrian Freihofer
adrian.freihofer at siemens.com
Sat Jun 8 07:59:44 UTC 2019
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
More information about the Openembedded-core
mailing list