diff options
author | 2016-01-29 06:48:43 -0700 | |
---|---|---|
committer | 2016-02-08 17:29:55 +0100 | |
commit | 9b65859d5e2e43fa89365224c5330e8c72ab760b (patch) | |
tree | 170ad5e281f25979a3146515fce1c065c255dfe1 /scripts/qapi.py | |
parent | hmp: Drop pointless allocation during qapi visit (diff) | |
download | qemu-9b65859d5e2e43fa89365224c5330e8c72ab760b.tar.xz qemu-9b65859d5e2e43fa89365224c5330e8c72ab760b.zip |
hmp: Cache use of qapi visitor
Cache the visitor in a local variable instead of repeatedly
calling the accessor.
Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <1454075341-13658-8-git-send-email-eblake@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'scripts/qapi.py')
0 files changed, 0 insertions, 0 deletions