summaryrefslogtreecommitdiffstats
path: root/tests/migration/guestperf-plot.py
diff options
context:
space:
mode:
authorJohn Snow2020-05-14 07:54:00 +0200
committerPhilippe Mathieu-Daudé2020-05-31 18:25:31 +0200
commitc95dddce4910c9cd5315b942180b03ca4e48a6a6 (patch)
treeb91ed748056c060d45638cda74a47a7ac818be2a /tests/migration/guestperf-plot.py
parentpython/qemu/qmp: assert sockfile is not None (diff)
downloadqemu-c95dddce4910c9cd5315b942180b03ca4e48a6a6.tar.gz
qemu-c95dddce4910c9cd5315b942180b03ca4e48a6a6.tar.xz
qemu-c95dddce4910c9cd5315b942180b03ca4e48a6a6.zip
python/qemu/qtest: Check before accessing _qtest
It can be None; so add assertions or exceptions where appropriate to guard the access accordingly. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20200514055403.18902-30-jsnow@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'tests/migration/guestperf-plot.py')
0 files changed, 0 insertions, 0 deletions