qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 00/17] monitor: Completion support for various co


From: Hani Benhabiles
Subject: [Qemu-devel] [PATCH v2 00/17] monitor: Completion support for various commands
Date: Sun, 30 Mar 2014 11:58:22 +0100

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(-)

-- 
1.8.3.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]