This series converted 'sendkey' command to qapi. The raw value in hexadecimal format is not supported by 'sendkey' of qmp.
Amos Kong (6): fix doc of using raw values with sendkey monitor: rename keyname '<' to 'less' hmp: rename arguments qapi: generate list struct and visit_list for enum qapi: convert sendkey ps2: output warning when event queue full hmp-commands.hx | 10 ++-- hmp.c | 45 ++++++++++++++++++++++ hmp.h | 1 + hw/ps2.c | 4 +- monitor.c | 99 +++++++++++++++++++++++-------------------------- monitor.h | 2 + qapi-schema.json | 45 ++++++++++++++++++++++ qmp-commands.hx | 27 +++++++++++++ scripts/qapi-types.py | 16 +++++++- scripts/qapi-visit.py | 14 ++++++- 10 files changed, 202 insertions(+), 61 deletions(-) --- Changes from v1: - using a JSON array for the key names - rename new error to 'QERR_OVERFLOW' - fix command descriptions - qapi: generate list struct for enum - add '<' fixing Changes from v2: - fix support of raw value in hexadecimal format - fix bug in processing of '<-x' - don't generate useless cleanup functions for enum - introduced two functions for enum in qapi scripts - fix command description - drop keys number limitation in sendkey - drop patch: qerror: add QERR_OVERFLOW