commit | 3c6e5e8ce13dc3bf286ff977a7806f2b342dfdab | [log] [tgz] |
---|---|---|
author | John Snow <jsnow@redhat.com> | Thu Oct 27 14:58:36 2022 -0400 |
committer | John Snow <jsnow@redhat.com> | Wed Jan 04 13:46:05 2023 -0500 |
tree | 00aaa62bfc409f2d7cdd2e2e611d4a0f403233d4 | |
parent | 9cccb3305a26ee01fea7b3a179eca01c98083e3a [diff] |
python/machine: Handle termination cases without QMP If we request a shutdown of a VM without a QMP console, we'll just hang waiting. Not ideal. Add in code that attempts graceful termination in these cases. Tested lightly; it appears to work and I doubt we rely on this case anywhere, but it's a corner you're allowed to wedge yourself in, so it should be handled. Signed-off-by: John Snow <jsnow@redhat.com>