diff options
author | Hani Benhabiles | 2014-05-28 00:39:36 +0200 |
---|---|---|
committer | Luiz Capitulino | 2014-06-11 16:10:29 +0200 |
commit | ddd6b45ce25281a5894e2df0f7af014e83af19f7 (patch) | |
tree | 501e33085e7ee97604978c16e185555fb405b7fb /hmp-commands.hx | |
parent | readline: Make completion strings always unique (diff) | |
download | qemu-ddd6b45ce25281a5894e2df0f7af014e83af19f7.tar.gz qemu-ddd6b45ce25281a5894e2df0f7af014e83af19f7.tar.xz qemu-ddd6b45ce25281a5894e2df0f7af014e83af19f7.zip |
monitor: Add host_net_remove arguments completion
Relies on readline unique completion strings patch to make the added vlan/hub
completion values unique, instead of using something like a hash table.
Signed-off-by: Hani Benhabiles <hani@linux.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'hmp-commands.hx')
-rw-r--r-- | hmp-commands.hx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx index aab9cf59bb..f99da0efe4 100644 --- a/hmp-commands.hx +++ b/hmp-commands.hx @@ -1227,6 +1227,7 @@ ETEXI .params = "vlan_id name", .help = "remove host VLAN client", .mhandler.cmd = net_host_device_remove, + .command_completion = host_net_remove_completion, }, STEXI |