summaryrefslogtreecommitdiff
path: root/hmp-commands.hx
diff options
context:
space:
mode:
authorHani Benhabiles <kroosec@gmail.com>2014-05-07 23:41:31 +0100
committerLuiz Capitulino <lcapitulino@redhat.com>2014-05-15 15:16:02 -0400
commitb162b49adc4cc6aa2c2ed0a31998f23dfe5983e6 (patch)
treecfe6485bc55c5b00507a0b86b0b2ef4e52ac1feb /hmp-commands.hx
parent40d19394b792fb80dba2f536fc13b5b604780a4d (diff)
downloadqemu-b162b49adc4cc6aa2c2ed0a31998f23dfe5983e6.tar.gz
monitor: Add netdev_add type argument completion.
Also update the command's documentation. 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.hx3
1 files changed, 2 insertions, 1 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx
index 3e7b29c99d..a7f9b2fd89 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -1234,9 +1234,10 @@ ETEXI
{
.name = "netdev_add",
.args_type = "netdev:O",
- .params = "[user|tap|socket|hubport|netmap],id=str[,prop=value][,...]",
+ .params = "[user|tap|socket|vde|bridge|hubport|netmap],id=str[,prop=value][,...]",
.help = "add host network device",
.mhandler.cmd = hmp_netdev_add,
+ .command_completion = netdev_add_completion,
},
STEXI