This patch series adds a new callback to mon_cmd_t which will make adding completion support for more commands cleaner.
It moves some existing commands completions to using the new callback and also fixes the completion for device_add and drive_del commands. Hani Benhabiles (3): monitor: Fix drive_del id argument type completion. monitor: Add command_completion callback to mon_cmd_t. monitor: Add device_add and device_del completion. hmp-commands.hx | 6 +++++- hmp.h | 5 +++++ monitor.c | 57 +++++++++++++++++++++++++++++++++++++-------------------- 3 files changed, 47 insertions(+), 21 deletions(-) -- 1.8.3.2