Received: from eggs.gnu.org ([2001:4830:134:3::10]:41383) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvlFi-0003JY-Pj for qemu-devel@nongnu.org; Fri, 22 May 2015 07:36:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YvlFf-0001RY-Gd for qemu-devel@nongnu.org; Fri, 22 May 2015 07:36:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42860) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvlFf-0001R2-8X for qemu-devel@nongnu.org; Fri, 22 May 2015 07:36:31 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t4MBaUC5006282 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Fri, 22 May 2015 07:36:30 -0400 From: Markus Armbruster Date: Fri, 22 May 2015 13:36:19 +0200 Message-Id: <1432294585-5984-15-git-send-email-armbru@redhat.com> In-Reply-To: <1432294585-5984-1-git-send-email-armbru@redhat.com> References: <1432294585-5984-1-git-send-email-armbru@redhat.com> Subject: [Qemu-devel] [PATCH 14/20] monitor: Rename handle_user_command() to handle_hmp_command() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: lcapitulino@redhat.com Signed-off-by: Markus Armbruster --- monitor.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/monitor.c b/monitor.c index 65ef400..ecadda7 100644 --- a/monitor.c +++ b/monitor.c @@ -574,7 +574,7 @@ static int do_qmp_capabilities(Monitor *mon, const QDict *params, return 0; } -static void handle_user_command(Monitor *mon, const char *cmdline); +static void handle_hmp_command(Monitor *mon, const char *cmdline); static void monitor_data_init(Monitor *mon) { @@ -613,7 +613,7 @@ char *qmp_human_monitor_command(const char *command_line, bool has_cpu_index, } } - handle_user_command(&hmp, command_line); + handle_hmp_command(&hmp, command_line); cur_mon = old_mon; qemu_mutex_lock(&hmp.out_lock); @@ -4025,7 +4025,7 @@ void monitor_set_error(Monitor *mon, QError *qerror) } } -static void handle_user_command(Monitor *mon, const char *cmdline) +static void handle_hmp_command(Monitor *mon, const char *cmdline) { QDict *qdict; const mon_cmd_t *cmd; @@ -5071,7 +5071,7 @@ static void monitor_read(void *opaque, const uint8_t *buf, int size) if (size == 0 || buf[size - 1] != 0) monitor_printf(cur_mon, "corrupted command\n"); else - handle_user_command(cur_mon, (char *)buf); + handle_hmp_command(cur_mon, (char *)buf); } cur_mon = old_mon; @@ -5083,7 +5083,7 @@ static void monitor_command_cb(void *opaque, const char *cmdline, Monitor *mon = opaque; monitor_suspend(mon); - handle_user_command(mon, cmdline); + handle_hmp_command(mon, cmdline); monitor_resume(mon); } -- 1.9.3