python/machine.py: Perform early cleanup for wait() calls, too
commit3a7d64b6fc8ddce3987005e0ee6eadbe2cbba5c8
authorJohn Snow <jsnow@redhat.com>
Fri, 10 Jul 2020 05:06:41 +0000 (10 01:06 -0400)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 14 Jul 2020 20:22:22 +0000 (14 22:22 +0200)
treeb0be6c26f69a31cb17c63ec8925a29c863b67bf4
parente2c97f161294c702ee4a2dd08532d5df67f6bff4
python/machine.py: Perform early cleanup for wait() calls, too

This is primarily for consistency, and is a step towards wait() and
shutdown() sharing the same implementation so that the two cleanup paths
cannot diverge.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Tested-by: Cleber Rosa <crosa@redhat.com>
Message-Id: <20200710050649.32434-5-jsnow@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
python/qemu/machine.py