The handle to QMP may be one of two classes, one implemented locally, and the other one, which seems to be from "qmp.qmp", but of which an import is missing.
CC: Vladimir Sementsov-Ogievskiy <vsement...@virtuozzo.com> Signed-off-by: Cleber Rosa <cr...@redhat.com> --- scripts/render_block_graph.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/render_block_graph.py b/scripts/render_block_graph.py index ed7e581b4f..7686e30761 100755 --- a/scripts/render_block_graph.py +++ b/scripts/render_block_graph.py @@ -24,6 +24,7 @@ import subprocess import json from graphviz import Digraph from qemu import MonitorResponseError +from qmp.qmp import QEMUMonitorProtocol def perm(arr): -- 2.20.1