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 <somlo@cmu.edu>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
Gerd Hoffmann 2015-05-29 14:37:54 +02:00
parent b0411142f4
commit 1ceaefbd0d

View 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,