Signed-off-by: Vinay Kumar <[email protected]>
---
meta/lib/oeqa/utils/qemurunner.py | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/utils/qemurunner.py
b/meta/lib/oeqa/utils/qemurunner.py
index 77ec939ad7..dd70a1d77d 100644
--- a/meta/lib/oeqa/utils/qemurunner.py
+++ b/meta/lib/oeqa/utils/qemurunner.py
@@ -184,7 +184,14 @@ class QemuRunner:
# and analyze descendents in order to determine it.
if os.path.exists(self.qemu_pidfile):
os.remove(self.qemu_pidfile)
- self.qemuparams = 'bootparams="{0}" qemuparams="-pidfile
{1}"'.format(bootparams, self.qemu_pidfile)
+
+ #In case of rust test we are explicitely passing slirp and qemu
monitor via telnet.
+ if "slirp" in launch_cmd:
+ self.use_slirp = True
+ self.qemuparams = 'bootparams="{0}" qemuparams="-pidfile {1}
-monitor telnet:127.0.0.1:1234,server,nowait -serial mon:stdio -serial
null"'.format(bootparams, self.qemu_pidfile)
+ else:
+ self.qemuparams = 'bootparams="{0}" qemuparams="-pidfile
{1}"'.format(bootparams, self.qemu_pidfile)
+
if qemuparams:
self.qemuparams = self.qemuparams[:-1] + " " + qemuparams + " " +
'\"'
--
2.17.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#150465):
https://lists.openembedded.org/g/openembedded-core/message/150465
Mute This Topic: https://lists.openembedded.org/mt/82112824/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-