python/qmp.py: add QMPProtocolError
commit84dcdf0887cdaaba7300442482c99e5064865a2d
authorJohn Snow <jsnow@redhat.com>
Fri, 10 Jul 2020 05:22:10 +0000 (10 01:22 -0400)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 14 Jul 2020 20:22:22 +0000 (14 22:22 +0200)
tree05de5aee0d27e60fd56b58f76ed491b683f11895
parent2e2d93051753067fc5b888fdc18831127a4a900e
python/qmp.py: add QMPProtocolError

In the case that we receive a reply but are unable to understand it,
use this exception name to indicate that case.

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