diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-03-06 17:10:09 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-08 11:52:56 +0000 |
commit | 383cd20828e4a0f88f2d9659aafe5d0a162e8fbc (patch) | |
tree | e0db2b2ad4b52aa3e725f649fa5b9a3e72f60087 /meta/lib/oeqa/utils/qemutinyrunner.py | |
parent | b41e1c92099fb29f8db76cf6501e5d02a456630c (diff) | |
download | poky-383cd20828e4a0f88f2d9659aafe5d0a162e8fbc.tar.gz |
qemurunner: add runqemuparams argument to commands.runqemu
Added possibility to pass additional runqemu parameters
down the stack of APIs:
commands.runqemu -> QemuTarget.start -> QemuRunner.start
This will be used to pass ovmf parameter in testing of
efi wic images under qemu.
(From OE-Core rev: 5aa4b5a10fb8191cd3453d09701c8beeff9a952f)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/utils/qemutinyrunner.py')
-rw-r--r-- | meta/lib/oeqa/utils/qemutinyrunner.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/utils/qemutinyrunner.py b/meta/lib/oeqa/utils/qemutinyrunner.py index d554f0dbcd..ec52473834 100644 --- a/meta/lib/oeqa/utils/qemutinyrunner.py +++ b/meta/lib/oeqa/utils/qemutinyrunner.py | |||
@@ -60,7 +60,7 @@ class QemuTinyRunner(QemuRunner): | |||
60 | with open(self.logfile, "a") as f: | 60 | with open(self.logfile, "a") as f: |
61 | f.write("%s" % msg) | 61 | f.write("%s" % msg) |
62 | 62 | ||
63 | def start(self, qemuparams = None, ssh=True, extra_bootparams=None): | 63 | def start(self, qemuparams = None, ssh=True, extra_bootparams=None, runqemuparams=''): |
64 | 64 | ||
65 | if self.display: | 65 | if self.display: |
66 | os.environ["DISPLAY"] = self.display | 66 | os.environ["DISPLAY"] = self.display |