diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2015-02-25 13:14:37 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2015-02-25 13:14:37 +0000 |
commit | 68b459eaa660be17d3547aa581502fe2c572c84f (patch) | |
tree | e5b3edf44f205dea663ab6d082bfee78fc322d14 /net/net.c | |
parent | 3d30395f7fb3315e4ecf0de4e48790e1326bbd47 (diff) | |
parent | 1ce6be24df0a2f634b61b9b882ac6d10af485ad6 (diff) | |
download | qemu-68b459eaa660be17d3547aa581502fe2c572c84f.tar.gz qemu-68b459eaa660be17d3547aa581502fe2c572c84f.tar.bz2 qemu-68b459eaa660be17d3547aa581502fe2c572c84f.zip |
Merge remote-tracking branch 'remotes/armbru/tags/pull-monitor-2015-02-18' into staging
hmp: Normalize HMP command handler names
# gpg: Signature made Wed Feb 18 10:59:44 2015 GMT using RSA key ID EB918653
# gpg: Good signature from "Markus Armbruster <armbru@redhat.com>"
# gpg: aka "Markus Armbruster <armbru@pond.sub.org>"
* remotes/armbru/tags/pull-monitor-2015-02-18:
hmp: Name HMP info handler functions hmp_info_SUBCOMMAND()
hmp: Name HMP command handler functions hmp_COMMAND()
hmp: Clean up declarations for long-gone info handlers
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'net/net.c')
-rw-r--r-- | net/net.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -953,7 +953,7 @@ static int net_host_check_device(const char *device) return 0; } -void net_host_device_add(Monitor *mon, const QDict *qdict) +void hmp_host_net_add(Monitor *mon, const QDict *qdict) { const char *device = qdict_get_str(qdict, "device"); const char *opts_str = qdict_get_try_str(qdict, "opts"); @@ -980,7 +980,7 @@ void net_host_device_add(Monitor *mon, const QDict *qdict) } } -void net_host_device_remove(Monitor *mon, const QDict *qdict) +void hmp_host_net_remove(Monitor *mon, const QDict *qdict) { NetClientState *nc; int vlan_id = qdict_get_int(qdict, "vlan_id"); @@ -1117,7 +1117,7 @@ RxFilterInfoList *qmp_query_rx_filter(bool has_name, const char *name, return filter_list; } -void do_info_network(Monitor *mon, const QDict *qdict) +void hmp_info_network(Monitor *mon, const QDict *qdict) { NetClientState *nc, *peer; NetClientOptionsKind type; |