xemu/python/qemu
John Snow c9b3045bc2 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>
2020-07-14 22:22:22 +02:00
..
__init__.py python/qemu: Remove unneeded imports in __init__ 2019-12-16 18:39:51 -05:00
.flake8 python/qemu: delint; add flake8 config 2020-05-31 18:25:30 +02:00
accel.py python/qemu: delint; add flake8 config 2020-05-31 18:25:30 +02:00
console_socket.py python/qemu: Add ConsoleSocket for optional use in QEMUMachine 2020-07-11 15:53:00 +01:00
machine.py python/machine.py: Add a configurable timeout to shutdown() 2020-07-14 22:22:22 +02:00
pylintrc python/qemu: delint and add pylintrc 2020-05-31 18:25:30 +02:00
qmp.py python/qemu/qmp: assert sockfile is not None 2020-05-31 18:25:31 +02:00
qtest.py python/qemu/qtest: Check before accessing _qtest 2020-05-31 18:25:31 +02:00