diff options
author | John Snow | 2020-07-10 07:06:43 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé | 2020-07-14 22:22:22 +0200 |
commit | c9b3045bc2f52aca8825b6a04e9367b87d64d1cf (patch) | |
tree | 71229f0bf335494fe8f538e78794f4bc04d1c166 /tests/acceptance/linux_ssh_mips_malta.py | |
parent | python/machine.py: Prohibit multiple shutdown() calls (diff) | |
download | qemu-c9b3045bc2f52aca8825b6a04e9367b87d64d1cf.tar.gz qemu-c9b3045bc2f52aca8825b6a04e9367b87d64d1cf.tar.xz qemu-c9b3045bc2f52aca8825b6a04e9367b87d64d1cf.zip |
python/machine.py: Add a configurable timeout to shutdown()
Three seconds is hardcoded. Use it as a default parameter instead, and use that
value for both waits that may occur in the function.
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Message-Id: <20200710050649.32434-7-jsnow@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'tests/acceptance/linux_ssh_mips_malta.py')
0 files changed, 0 insertions, 0 deletions