mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
Monitor: Drop monitor_cmd_user_only()
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 <lcapitulino@redhat.com>
This commit is contained in:
parent
30f5041ef1
commit
0e19a62770
2 changed files with 0 additions and 6 deletions
|
@ -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;
|
||||
|
|
|
@ -18,7 +18,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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue