Re: [PATCH RFC 16/32] python//qmp.py: re-absorb MonitorResponseError

2020-05-13 Thread Philippe Mathieu-Daudé
On 5/14/20 7:53 AM, John Snow wrote: When I initially split this out, I considered this more of a machine error than a QMP protocol error, but I think that's misguided. Move this back to qmp.py and name it QMPResponseError. Convert qmp.command() to use this exception type. Signed-off-by: John S

[PATCH RFC 16/32] python//qmp.py: re-absorb MonitorResponseError

2020-05-13 Thread John Snow
When I initially split this out, I considered this more of a machine error than a QMP protocol error, but I think that's misguided. Move this back to qmp.py and name it QMPResponseError. Convert qmp.command() to use this exception type. Signed-off-by: John Snow --- python/qemu/lib/machine.py