summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/utils/qemurunner.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py
index fd386ef5a2..6d2860c106 100644
--- a/meta/lib/oeqa/utils/qemurunner.py
+++ b/meta/lib/oeqa/utils/qemurunner.py
@@ -155,11 +155,11 @@ class QemuRunner:
155 # and analyze descendents in order to determine it. 155 # and analyze descendents in order to determine it.
156 if os.path.exists(self.qemu_pidfile): 156 if os.path.exists(self.qemu_pidfile):
157 os.remove(self.qemu_pidfile) 157 os.remove(self.qemu_pidfile)
158 self.qemuparams = 'bootparams="{0}" qemuparams="-serial tcp:127.0.0.1:{1} -pidfile {2}"'.format(bootparams, threadport, self.qemu_pidfile) 158 self.qemuparams = 'bootparams="{0}" qemuparams="-pidfile {1}"'.format(bootparams, self.qemu_pidfile)
159 if qemuparams: 159 if qemuparams:
160 self.qemuparams = self.qemuparams[:-1] + " " + qemuparams + " " + '\"' 160 self.qemuparams = self.qemuparams[:-1] + " " + qemuparams + " " + '\"'
161 161
162 launch_cmd += ' tcpserial=%s %s' % (self.serverport, self.qemuparams) 162 launch_cmd += ' tcpserial=%s:%s %s' % (threadport, self.serverport, self.qemuparams)
163 163
164 self.origchldhandler = signal.getsignal(signal.SIGCHLD) 164 self.origchldhandler = signal.getsignal(signal.SIGCHLD)
165 signal.signal(signal.SIGCHLD, self.handleSIGCHLD) 165 signal.signal(signal.SIGCHLD, self.handleSIGCHLD)