From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMblU-0002wo-7k for qemu-devel@nongnu.org; Sun, 09 Mar 2014 07:19:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WMblJ-00009E-LO for qemu-devel@nongnu.org; Sun, 09 Mar 2014 07:19:32 -0400 Received: from mail-ea0-x233.google.com ([2a00:1450:4013:c01::233]:35584) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMblJ-000095-EH for qemu-devel@nongnu.org; Sun, 09 Mar 2014 07:19:21 -0400 Received: by mail-ea0-f179.google.com with SMTP id q10so3194114ead.10 for ; Sun, 09 Mar 2014 04:19:20 -0700 (PDT) From: Hani Benhabiles Date: Sun, 9 Mar 2014 12:16:10 +0100 Message-Id: <1394363777-14132-1-git-send-email-kroosec@gmail.com> Subject: [Qemu-devel] [PATCH 0/7] 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, imammedo@redhat.com, stefanha@redhat.com, lcapitulino@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 7 different hmp commands. Hani Benhabiles (7): monitor: Add command_completion callback to mon_cmd_t. 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. hmp-commands.hx | 14 +++- hmp.h | 11 +++ monitor.c | 213 +++++++++++++++++++++++++++++++++++++++++++++++++------- 3 files changed, 211 insertions(+), 27 deletions(-) -- 1.8.3.2