diff options
authorYeoh Ee Peng <>2018-11-22 17:10:43 +0800
committerRichard Purdie <>2019-02-25 22:13:06 +0000
commite4990ae01c9f3f486b4b745a2602795e9d496109 (patch)
parent544c56b6950f0598d5eaf62d9ae9d9de5fcb7eaf (diff)
oeqa/qemu & runtime: qemu do not need ip input from external
Qemu do not use the ip input from external. It will retrieve ip from QemuRunner instance and assign ip value. (From OE-Core rev: 14d99dc6c39c963ba3e0d9a30274846bd5369210) Signed-off-by: Yeoh Ee Peng <> Signed-off-by: Richard Purdie <> Signed-off-by: Armin Kuster <>
2 files changed, 3 insertions, 4 deletions
diff --git a/meta/lib/oeqa/core/target/ b/meta/lib/oeqa/core/target/
index bf3b633f04..538bf12b6a 100644
--- a/meta/lib/oeqa/core/target/
+++ b/meta/lib/oeqa/core/target/
@@ -12,15 +12,14 @@ from oeqa.utils.qemurunner import QemuRunner
supported_fstypes = ['ext3', 'ext4', 'cpio.gz', 'wic']
class OEQemuTarget(OESSHTarget):
- def __init__(self, logger, ip, server_ip, timeout=300, user='root',
+ def __init__(self, logger, server_ip, timeout=300, user='root',
port=None, machine='', rootfs='', kernel='', kvm=False,
dump_dir='', dump_host_cmds='', display='', bootlog='',
tmpdir='', dir_image='', boottime=60, **kwargs):
- super(OEQemuTarget, self).__init__(logger, ip, server_ip, timeout,
+ super(OEQemuTarget, self).__init__(logger, None, server_ip, timeout,
user, port)
- self.ip = ip
self.server_ip = server_ip
self.machine = machine
self.rootfs = rootfs
diff --git a/meta/lib/oeqa/runtime/ b/meta/lib/oeqa/runtime/
index f3341b2e33..ffb846aace 100644
--- a/meta/lib/oeqa/runtime/
+++ b/meta/lib/oeqa/runtime/
@@ -98,7 +98,7 @@ class OERuntimeTestContextExecutor(OETestContextExecutor):
if target_type == 'simpleremote':
target = OESSHTarget(logger, target_ip, server_ip, **kwargs)
elif target_type == 'qemu':
- target = OEQemuTarget(logger, target_ip, server_ip, **kwargs)
+ target = OEQemuTarget(logger, server_ip, **kwargs)
# XXX: This code uses the old naming convention for controllers and
# targets, the idea it is to leave just targets as the controller