[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 14/18] Monitor: Drop monitor_cmd_user_only()
From: |
Luiz Capitulino |
Subject: |
[Qemu-devel] [PATCH 14/18] Monitor: Drop monitor_cmd_user_only() |
Date: |
Thu, 16 Sep 2010 17:21:00 -0300 |
This function was only needed when QMP and HMP were sharing dispatch
tables, this is no longer true so just drop it.
Signed-off-by: Luiz Capitulino <address@hidden>
---
monitor.c | 5 -----
monitor.h | 1 -
2 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/monitor.c b/monitor.c
index ce3e5b5..3193b93 100644
--- a/monitor.c
+++ b/monitor.c
@@ -340,11 +340,6 @@ static inline bool monitor_handler_is_async(const
mon_cmd_t *cmd)
return cmd->flags & MONITOR_CMD_ASYNC;
}
-static inline bool monitor_cmd_user_only(const mon_cmd_t *cmd)
-{
- return (cmd->flags & MONITOR_CMD_USER_ONLY);
-}
-
static inline int monitor_has_error(const Monitor *mon)
{
return mon->error != NULL;
diff --git a/monitor.h b/monitor.h
index 38b22a4..9582b9c 100644
--- a/monitor.h
+++ b/monitor.h
@@ -17,7 +17,6 @@ extern Monitor *default_mon;
/* flags for monitor commands */
#define MONITOR_CMD_ASYNC 0x0001
-#define MONITOR_CMD_USER_ONLY 0x0002
/* QMP events */
typedef enum MonitorEvent {
--
1.7.3.rc2.dirty
- Re: [Qemu-devel] [PATCH 05/18] Monitor: Drop is_async_return(), (continued)
- [Qemu-devel] [PATCH 07/18] Monitor: Introduce the qemu-monitor-qmp.hx file, Luiz Capitulino, 2010/09/16
- [Qemu-devel] [PATCH 10/18] QMP: Introduce query commands dispatch table, Luiz Capitulino, 2010/09/16
- [Qemu-devel] [PATCH 11/18] QMP: Simplify do_info_commands(), Luiz Capitulino, 2010/09/16
- [Qemu-devel] [PATCH 14/18] Monitor: Drop monitor_cmd_user_only(),
Luiz Capitulino <=
- [Qemu-devel] [PATCH 13/18] Monitor: Drop QMP info from the qemu-monitor.hx file, Luiz Capitulino, 2010/09/16
- [Qemu-devel] [PATCH 15/18] Monitor: Rename monitor_handler_ported(), Luiz Capitulino, 2010/09/16
- [Qemu-devel] [PATCH 16/18] Monitor: Rename monitor_handler_is_async(), Luiz Capitulino, 2010/09/16
- [Qemu-devel] [PATCH 17/18] Monitor: Directly call QObject handlers, Luiz Capitulino, 2010/09/16
- [Qemu-devel] [PATCH 12/18] QMP: Small cleanup in handle_qmp_command(), Luiz Capitulino, 2010/09/16
- [Qemu-devel] [PATCH 18/18] QMP: Introduce qmp_call_cmd(), Luiz Capitulino, 2010/09/16
- Re: [Qemu-devel] [PATCH 00/18] Monitor: split HMP and QMP dispatch tables, Anthony Liguori, 2010/09/21