[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] QemuOpts: increase number of vm_config_groups

From: Gerd Hoffmann
Subject: [Qemu-devel] [PATCH] QemuOpts: increase number of vm_config_groups
Date: Fri, 29 May 2015 14:41:13 +0200

Adding the fw_cfg cmd line support patch by
Gabriel L. Somlo hits the limit.

Fix this by making the array larger.

Cc: Gabriel L. Somlo <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>
 util/qemu-config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util/qemu-config.c b/util/qemu-config.c
index 30d6dcf..4dfde06 100644
--- a/util/qemu-config.c
+++ b/util/qemu-config.c
@@ -6,7 +6,7 @@
 #include "qapi/error.h"
 #include "qmp-commands.h"
-static QemuOptsList *vm_config_groups[32];
+static QemuOptsList *vm_config_groups[48];
 static QemuOptsList *drive_config_groups[4];
 static QemuOptsList *find_list(QemuOptsList **lists, const char *group,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]