Re: [PATCH 2/3] python/qemu: Kill QEMU process if 'quit' doesn't work

2020-03-20 Thread Philippe Mathieu-Daudé
On 3/13/20 9:36 AM, Kevin Wolf wrote: With a QEMU bug, it can happen that the QEMU process doesn't react to a 'quit' QMP command. If we got an exception during previous QMP communication (e.g. iotests Timeout expiring), we could also be in an inconsistent state where after sending 'quit' we

Re: [PATCH 2/3] python/qemu: Kill QEMU process if 'quit' doesn't work

2020-03-16 Thread John Snow
On 3/13/20 4:36 AM, Kevin Wolf wrote: > With a QEMU bug, it can happen that the QEMU process doesn't react to a > 'quit' QMP command. If we got an exception during previous QMP > communication (e.g. iotests Timeout expiring), we could also be in an > inconsistent state where after sending

[PATCH 2/3] python/qemu: Kill QEMU process if 'quit' doesn't work

2020-03-13 Thread Kevin Wolf
With a QEMU bug, it can happen that the QEMU process doesn't react to a 'quit' QMP command. If we got an exception during previous QMP communication (e.g. iotests Timeout expiring), we could also be in an inconsistent state where after sending 'quit' we immediately read an old response and close