Received: from eggs.gnu.org ([2001:4830:134:3::10]:34509) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUDS8-0008Ba-5g for qemu-devel@nongnu.org; Sun, 30 Mar 2014 06:59:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WUDRy-0003TK-Rv for qemu-devel@nongnu.org; Sun, 30 Mar 2014 06:59:00 -0400 Received: from mail-ee0-x22c.google.com ([2a00:1450:4013:c00::22c]:42413) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUDRy-0003T8-KU for qemu-devel@nongnu.org; Sun, 30 Mar 2014 06:58:50 -0400 Received: by mail-ee0-f44.google.com with SMTP id e49so5601061eek.17 for ; Sun, 30 Mar 2014 03:58:49 -0700 (PDT) From: Hani Benhabiles Date: Sun, 30 Mar 2014 11:58:22 +0100 Message-Id: <1396177119-24955-1-git-send-email-kroosec@gmail.com> Subject: [Qemu-devel] [PATCH v2 00/17] monitor: Completion support for various commands List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, aliguori@amazon.com, lcapitulino@redhat.com, stefanha@redhat.com, imammedo@redhat.com 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