[OE-core] [PATCH v2 0/4] oeqa: more control over qemu

Patrick Ohly patrick.ohly at intel.com
Fri Mar 24 21:46:15 UTC 2017


I'm currently working on testing an installer image. During that test
I need to:
- boot with two drives attached to the virtual machine (installer image
  and internal disk)
- install to internal disk
- reboot with just the internal disk

There were several problems doing that:
- attaching second disk via qemuparams was not possible
- run_serial() timed out too early during the long-running install command
- writes to the internal disks were discarded
- booting with only the non-standard internal disk instead of the
  recipe's image was not possible

V2: rebased on top of master-next + Robert's "runqemu: add selftest" series,
    no other changes (merge V1 if not taking Robert's patches first)

Patrick Ohly (4):
  qemurunner: configurable timeout for run_serial()
  oeqa: allow extending qemuparams="..."
  oeqa: allow customizing image used by runqemu()
  oeqa: allow persistent image writes in runqemu()

 meta/lib/oeqa/targetcontrol.py        | 10 +++++-----
 meta/lib/oeqa/utils/commands.py       |  6 ++++--
 meta/lib/oeqa/utils/qemurunner.py     | 21 ++++++++++++---------
 meta/lib/oeqa/utils/qemutinyrunner.py |  8 +++++---
 4 files changed, 26 insertions(+), 19 deletions(-)

base-commit: 9ff93dd64edb54888e9682ce39d8c3d63cfea4d8
-- 
git-series 0.9.1



More information about the Openembedded-core mailing list