OSDN Git Service

net/vmnet: update hmp-commands.hx
authorVladislav Yaroshchuk <vladislav.yaroshchuk@jetbrains.com>
Thu, 17 Mar 2022 17:28:39 +0000 (20:28 +0300)
committerJason Wang <jasowang@redhat.com>
Tue, 17 May 2022 08:48:23 +0000 (16:48 +0800)
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>
hmp-commands.hx

index 03e6a73..564f1de 100644 (file)
@@ -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,