Openembedded Core Discussions
 help / color / mirror / Atom feed
* [meta-oe][PATCH v2 0/4] runqemu: support non-bootable wic images
@ 2019-06-07 21:47 Adrian Freihofer
  2019-06-07 21:47 ` [meta-oe][PATCH v2 1/4] qemurunner: fix undefined variable Adrian Freihofer
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Adrian Freihofer @ 2019-06-07 21:47 UTC (permalink / raw)
  To: openembedded-core; +Cc: Adrian Freihofer

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. 

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



^ permalink raw reply	[flat|nested] 8+ messages in thread
* [meta-oe][PATCH v3 0/4] runqemu: support non-bootable wic images
@ 2019-06-08  7:59 Adrian Freihofer
  2019-06-08  8:30 ` ✗ patchtest: failure for " Patchwork
  0 siblings, 1 reply; 8+ messages in thread
From: Adrian Freihofer @ 2019-06-08  7:59 UTC (permalink / raw)
  To: openembedded-core; +Cc: Adrian Freihofer

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



^ permalink raw reply	[flat|nested] 8+ messages in thread
* [meta-oe][PATCH v4 0/3] runqemu: support non-bootable wic images
@ 2019-06-09 12:03 Adrian Freihofer
  2019-06-09 13:00 ` ✗ patchtest: failure for " Patchwork
  0 siblings, 1 reply; 8+ messages in thread
From: Adrian Freihofer @ 2019-06-09 12:03 UTC (permalink / raw)
  To: openembedded-core; +Cc: Adrian Freihofer

Compared to V3 this is a new implementation, as suggested by Richard.
Thanks for the hint, it makes perfect sense.

Adrian Freihofer (3):
  qemurunner: fix undefined variable
  testimage: consider QB_DEFAULT_FSTYPE
  runqemu: QB_FSINFO to support fstype wic images

 meta/classes/testimage.bbclass    |  6 ++++-
 meta/lib/oeqa/utils/qemurunner.py |  1 +
 scripts/runqemu                   | 49 +++++++++++++++++++++++++++++++++++----
 3 files changed, 50 insertions(+), 6 deletions(-)

-- 
2.11.0



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-06-09 13:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-07 21:47 [meta-oe][PATCH v2 0/4] runqemu: support non-bootable wic images Adrian Freihofer
2019-06-07 21:47 ` [meta-oe][PATCH v2 1/4] qemurunner: fix undefined variable Adrian Freihofer
2019-06-07 21:47 ` [meta-oe][PATCH v2 2/4] testimage: consider QB_DEFAULT_FSTYPE Adrian Freihofer
2019-06-07 21:47 ` [meta-oe][PATCH v2 3/4] runqemu: support non-bootable wic images Adrian Freihofer
2019-06-07 21:47 ` [meta-oe][PATCH v2 4/4] runqemu: add wic-fs and wic-wm paramters Adrian Freihofer
2019-06-08  4:10 ` ✗ patchtest: failure for runqemu: support non-bootable wic images Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2019-06-08  7:59 [meta-oe][PATCH v3 0/4] " Adrian Freihofer
2019-06-08  8:30 ` ✗ patchtest: failure for " Patchwork
2019-06-09 12:03 [meta-oe][PATCH v4 0/3] " Adrian Freihofer
2019-06-09 13:00 ` ✗ patchtest: failure for " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox