The qemu is booted with slirp mode. We are setting "self.use_slirp" as "True" to avoid the error during qemuboot.
ERROR: Couldn't get ip from qemu command line and runqemu output! Here is the qemu command line used: We are setting "self.use_slirp=True" only when "slirp" is passed "launch_cmd" through "runqemuparams". Signed-off-by: Vinay Kumar <[email protected]> --- meta/lib/oeqa/utils/qemurunner.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py index 77ec939ad7..13abf6690d 100644 --- a/meta/lib/oeqa/utils/qemurunner.py +++ b/meta/lib/oeqa/utils/qemurunner.py @@ -184,6 +184,8 @@ class QemuRunner: # and analyze descendents in order to determine it. if os.path.exists(self.qemu_pidfile): os.remove(self.qemu_pidfile) + if "slirp" in launch_cmd: + self.use_slirp=True 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 (#151920): https://lists.openembedded.org/g/openembedded-core/message/151920 Mute This Topic: https://lists.openembedded.org/mt/82883380/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
