python/qmp.py: re-absorb MonitorResponseError
commite3a23b4803a3939c7e24e8946880f5ef369ef781
authorJohn Snow <jsnow@redhat.com>
Fri, 10 Jul 2020 05:22:07 +0000 (10 01:22 -0400)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 14 Jul 2020 20:22:22 +0000 (14 22:22 +0200)
tree8bb2ed6d555453586ef513915dc210f132f2cd1a
parent2012453ddde0506d044d4739257227c6868028b6
python/qmp.py: re-absorb MonitorResponseError

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 <jsnow@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20200710052220.3306-4-jsnow@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
python/qemu/machine.py
python/qemu/qmp.py
scripts/render_block_graph.py