summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oeqa/core/target/qemu.py5
-rw-r--r--meta/lib/oeqa/runtime/context.py2
2 files changed, 3 insertions, 4 deletions
diff --git a/meta/lib/oeqa/core/target/qemu.py b/meta/lib/oeqa/core/target/qemu.py
index bf3b633f04..538bf12b6a 100644
--- a/meta/lib/oeqa/core/target/qemu.py
+++ b/meta/lib/oeqa/core/target/qemu.py
@@ -12,15 +12,14 @@ from oeqa.utils.qemurunner import QemuRunner
12supported_fstypes = ['ext3', 'ext4', 'cpio.gz', 'wic'] 12supported_fstypes = ['ext3', 'ext4', 'cpio.gz', 'wic']
13 13
14class OEQemuTarget(OESSHTarget): 14class OEQemuTarget(OESSHTarget):
15 def __init__(self, logger, ip, server_ip, timeout=300, user='root', 15 def __init__(self, logger, server_ip, timeout=300, user='root',
16 port=None, machine='', rootfs='', kernel='', kvm=False, 16 port=None, machine='', rootfs='', kernel='', kvm=False,
17 dump_dir='', dump_host_cmds='', display='', bootlog='', 17 dump_dir='', dump_host_cmds='', display='', bootlog='',
18 tmpdir='', dir_image='', boottime=60, **kwargs): 18 tmpdir='', dir_image='', boottime=60, **kwargs):
19 19
20 super(OEQemuTarget, self).__init__(logger, ip, server_ip, timeout, 20 super(OEQemuTarget, self).__init__(logger, None, server_ip, timeout,
21 user, port) 21 user, port)
22 22
23 self.ip = ip
24 self.server_ip = server_ip 23 self.server_ip = server_ip
25 self.machine = machine 24 self.machine = machine
26 self.rootfs = rootfs 25 self.rootfs = rootfs
diff --git a/meta/lib/oeqa/runtime/context.py b/meta/lib/oeqa/runtime/context.py
index a7f3823996..943e29b0d9 100644
--- a/meta/lib/oeqa/runtime/context.py
+++ b/meta/lib/oeqa/runtime/context.py
@@ -101,7 +101,7 @@ class OERuntimeTestContextExecutor(OETestContextExecutor):
101 if target_type == 'simpleremote': 101 if target_type == 'simpleremote':
102 target = OESSHTarget(logger, target_ip, server_ip, **kwargs) 102 target = OESSHTarget(logger, target_ip, server_ip, **kwargs)
103 elif target_type == 'qemu': 103 elif target_type == 'qemu':
104 target = OEQemuTarget(logger, target_ip, server_ip, **kwargs) 104 target = OEQemuTarget(logger, server_ip, **kwargs)
105 else: 105 else:
106 # XXX: This code uses the old naming convention for controllers and 106 # XXX: This code uses the old naming convention for controllers and
107 # targets, the idea it is to leave just targets as the controller 107 # targets, the idea it is to leave just targets as the controller