python/machine.py: Close QMP socket in cleanup
commit671940e633b83ac489e0b4bb407749723ff8a879
authorJohn Snow <jsnow@redhat.com>
Fri, 10 Jul 2020 05:06:39 +0000 (10 01:06 -0400)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 14 Jul 2020 20:22:22 +0000 (14 22:22 +0200)
treebcfb0b9f9aef2c33d2eec96fd4cefe7bdec03ce6
parent14661d93d787846833b0e62d5995195c8851f741
python/machine.py: Close QMP socket in cleanup

It's not important to do this before waiting for the process to exit, so
it can be done during generic post-shutdown cleanup.

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-3-jsnow@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
python/qemu/machine.py