monitor: Completion support for various commands
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest17 patches 6 repliesIn review
- v17 patches 9 repliesSuperseded
Changes in v2 from the cover letter
* Splitting patch 1/7 to 1/17, 2/17 and 3/17.
* Changed command_completion's first argument from Monitor to ReadLineState.
* Added new commands completions (10/17 to 17/17)
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/17 | monitor: Fix drive_del id argument type completion.hmp-commands.hx | +1 | 0 replies | |
| 2/17 | monitor: Add command_completion callback to mon_cmd_t.hmp-commands.hx hmp.h monitor.c | +18 | 1 reply | |
| 3/17 | monitor: Add device_add and device_del completion.hmp-commands.hx hmp.h monitor.c | +25 | 1 reply | |
| 4/17 | monitor: Add chardev-remove id argument completion.hmp-commands.hx hmp.h monitor.c | +25 | 1 reply | |
| 5/17 | monitor: Add chardev-add backend argument completion.hmp-commands.hx hmp.h monitor.c | +25 | 0 replies | |
| 6/17 | monitor: Add cpu index argument completion.hmp-commands.hx hmp.h monitor.c | +26 | 0 replies | |
| 7/17 | monitor: Add set_link arguments completion.hmp-commands.hx hmp.h monitor.c +1 more | +37 | 1 reply | |
| 8/17 | monitor: Add netdev_add type argument completion.hmp-commands.hx hmp.h monitor.c | +21 | 1 reply | |
| 9/17 | monitor: Add netdev_del id argument completion.hmp-commands.hx hmp.h monitor.c | +28 | 0 replies | |
| 10/17 | monitor: Add ringbuf_write and ringbuf_read argument completion.hmp-commands.hx hmp.h include/ +2 more | +45 | 0 replies | |
| 11/17 | monitor: Add watchdog_action argument completion.hmp-commands.hx hmp.h monitor.c | +17 | 0 replies | |
| 12/17 | monitor: Add migrate_set_capability completion.hmp-commands.hx hmp.h monitor.c | +24 | 0 replies | |
| 13/17 | monitor: Add host_net_add device argument completion.hmp-commands.hx hmp.h monitor.c | +17 | 0 replies | |
| 14/17 | readline: Make completion strings always unique.util/ | +6 | 0 replies | |
| 15/17 | monitor: Add host_net_remove arguments completion.hmp-commands.hx hmp.h monitor.c | +41 | 0 replies | |
| 16/17 | monitor: Add mouse_set index argument completion.hmp-commands.hx hmp.h monitor.c | +24 | 0 replies | |
| 17/17 | monitor: Add delvm and loadvm argument completion.hmp-commands.hx hmp.h monitor.c | +52 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [Qemu-devel] [PATCH v2 00/17] monitor: Completion support for various commands
This patch series adds a new callback to mon_cmd_t which will make adding completion support for more commands cleaner.
It then adds full or partial arguments completion for multiple hmp commands.
Changes since v1:
* Splitting patch 1/7 to 1/17, 2/17 and 3/17.
* Changed command_completion's first argument from Monitor to ReadLineState.
* Added new commands completions (10/17 to 17/17)
Hani Benhabiles (17):
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.
monitor: Add chardev-remove id argument completion.
monitor: Add chardev-add backend argument completion.
monitor: Add cpu index argument completion.
monitor: Add set_link arguments completion.
monitor: Add netdev_add type argument completion.
monitor: Add netdev_del id argument completion.
monitor: Add ringbuf_write and ringbuf_read argument completion.
monitor: Add watchdog_action argument completion.
monitor: Add migrate_set_capability completion.
monitor: Add host_net_add device argument completion.
readline: Make completion strings always unique.
monitor: Add host_net_remove arguments completion.
monitor: Add mouse_set index argument completion.
monitor: Add delvm and loadvm argument completion.
hmp-commands.hx | 25 +++- hmp.h | 23 +++ include/sysemu/char.h | 3 +- monitor.c | 397 +++++++++++++++++++++++++++++++++++++++++++++++--- net/net.c | 2 +- qemu-char.c | 2 +- util/readline.c | 6 + 7 files changed, 432 insertions(+), 26 deletions(-)
Signature · 1 line
1.8.3.2