aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladislav Yaroshchuk <vladislav.yaroshchuk@jetbrains.com>2022-03-17 20:28:39 +0300
committerJason Wang <jasowang@redhat.com>2022-05-17 16:48:23 +0800
commitfd8c8c056d17e78efdcfe680b4830cd646d5d5a0 (patch)
tree55e3119d2ff74a06dd6b085d130f26dae861bf9c
parentb0290db12d7b6567916ee3cba7bf2f08183121e8 (diff)
net/vmnet: update hmp-commands.hx
Update HMP for supporting vmnet. Reviewed-by: Akihiko Odaki <akihiko.odaki@gmail.com> Tested-by: Akihiko Odaki <akihiko.odaki@gmail.com> Signed-off-by: Vladislav Yaroshchuk <Vladislav.Yaroshchuk@jetbrains.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
-rw-r--r--hmp-commands.hx6
1 files changed, 5 insertions, 1 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx
index 03e6a73d1f..564f1de364 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -1269,7 +1269,11 @@ ERST
{
.name = "netdev_add",
.args_type = "netdev:O",
- .params = "[user|tap|socket|vde|bridge|hubport|netmap|vhost-user],id=str[,prop=value][,...]",
+ .params = "[user|tap|socket|vde|bridge|hubport|netmap|vhost-user"
+#ifdef CONFIG_VMNET
+ "|vmnet-host|vmnet-shared|vmnet-bridged"
+#endif
+ "],id=str[,prop=value][,...]",
.help = "add host network device",
.cmd = hmp_netdev_add,
.command_completion = netdev_add_completion,