summaryrefslogtreecommitdiffstats
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorLuiz Capitulino2012-09-20 18:44:28 +0200
committerLuiz Capitulino2012-09-27 14:48:24 +0200
commit05a3543dbddd03d6be723be4074e2e661b00b851 (patch)
tree63997ea7b47755d93be16b4651630c9cdcf8becb /qapi-schema.json
parenthmp: dump-guest-memory: hardcode protocol argument to "file:" (diff)
downloadqemu-05a3543dbddd03d6be723be4074e2e661b00b851.tar.gz
qemu-05a3543dbddd03d6be723be4074e2e661b00b851.tar.xz
qemu-05a3543dbddd03d6be723be4074e2e661b00b851.zip
input: qmp_send_key(): simplify
The current code duplicates the QKeyCodeList keys in order to store the key values for release_keys() late run. This is a bit complicated though, as we have to care about correct ordering and then release_keys() will have to index key_defs[] over again. Switch to an array of integers, which is dynamically allocated and stores the already converted key value. This simplifies the current code and the next commit. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'qapi-schema.json')
0 files changed, 0 insertions, 0 deletions