Re: [PATCH 3/3] python/qemu/qmp.py: Fix settimeout operation

2020-10-09 Thread Philippe Mathieu-Daudé
On 10/9/20 7:51 PM, John Snow wrote: We enabled callers to interface directly with settimeout, but this reacts poorly with blocking/nonblocking operation; as they are using the same internal mechanism. 1. Whenever we change the blocking mechanism temporarily, always set it back to what it was af

[PATCH 3/3] python/qemu/qmp.py: Fix settimeout operation

2020-10-09 Thread John Snow
We enabled callers to interface directly with settimeout, but this reacts poorly with blocking/nonblocking operation; as they are using the same internal mechanism. 1. Whenever we change the blocking mechanism temporarily, always set it back to what it was afterwards. 2. Disallow callers from set