QemuOpts: increase number of vm_config_groups
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 29 May 2015 12:37:54 +0000 (14:37 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 10 Jun 2015 06:00:37 +0000 (08:00 +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 <somlo@cmu.edu>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
util/qemu-config.c

index 35adfda496fc341d141ed52ec57e46a00b806d10..6cfdd7204ad2f648a15eb46d3dc553618322994b 100644 (file)
@@ -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,