X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FQemuUtils.py;h=2df89ee87c5f8d1cfe1741b6b2a131d695e3720a;hb=c3233bc7565d41301b4e42a4bc7b94c219a8b7a7;hp=64fb5a0e87c16a8556ccd8ad2ff1b34a70e4f762;hpb=d28c03e3dc80119e8f436160491909ac33ba9107;p=csit.git diff --git a/resources/libraries/python/QemuUtils.py b/resources/libraries/python/QemuUtils.py index 64fb5a0e87..2df89ee87c 100644 --- a/resources/libraries/python/QemuUtils.py +++ b/resources/libraries/python/QemuUtils.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021 Cisco and/or its affiliates. +# Copyright (c) 2022-2023 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -258,7 +258,7 @@ class QemuUtils: logger.debug(u"Jumbo frames temporarily disabled!") self._params.add_with_value( u"chardev", f"socket,id=char{self._nic_id}," - f"path={socket}{u',server' if server is True else u''}" + f"path={socket}{u',server=on' if server is True else u''}" ) self._params.add_with_value( u"netdev", f"vhost-user,id=vhost{self._nic_id}," @@ -605,7 +605,7 @@ class QemuUtils: except AttributeError: self._wait_default() - def _wait_default(self, retries=60): + def _wait_default(self, retries=120): """Wait until QEMU with VPP is booted. :param retries: Number of retries.