[OE-core] [PATCH 0/4] oeqa: more control over qemu
Patrick Ohly
patrick.ohly at intel.com
Fri Mar 24 17:18:34 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
This patch series probably conflicts with the patches that Robert posted.
If those are meant to go in first, then I'll post a rebased V2.
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 | 8 ++++----
meta/lib/oeqa/utils/commands.py | 6 ++++--
meta/lib/oeqa/utils/qemurunner.py | 21 ++++++++++++---------
meta/lib/oeqa/utils/qemutinyrunner.py | 8 +++++---
4 files changed, 25 insertions(+), 18 deletions(-)
base-commit: 95a7bd605ff42fe4ad28042f6a876c651f24c7af
--
git-series 0.9.1
More information about the Openembedded-core
mailing list