]> Git Repo - qemu.git/blobdiff - util/qemu-config.c
util/qemu-sockets.c: Support specifying IPv4 or IPv6 in socket_dgram()
[qemu.git] / util / qemu-config.c
index f4e4f38749bd84201773662dc46d9a571fbfd0e4..ba375c014892ca6e216857e1dfaadd54c60898f3 100644 (file)
@@ -82,6 +82,10 @@ static CommandLineParameterInfoList *query_option_descs(const QemuOptDesc *desc)
             info->has_help = true;
             info->help = g_strdup(desc[i].help);
         }
+        if (desc[i].def_value_str) {
+            info->has_q_default = true;
+            info->q_default = g_strdup(desc[i].def_value_str);
+        }
 
         entry = g_malloc0(sizeof(*entry));
         entry->value = info;
This page took 0.019335 seconds and 4 git commands to generate.