Skip to contentSkip to conversation

QemuOpts: increase number of vm_config_groups

PATCH New Gerd Hoffmann 1 participant 1 message May 29, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 QemuOpts: increase number of vm_config_groups

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 <[email protected]>
---
 util/qemu-config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
util/qemu-config.c +1 -1
index 30d6dcf..4dfde06 100644
@@ -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,
Signature · 1 line
1.8.3.1