aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2015-05-29 14:37:54 +0200
committerGerd Hoffmann <kraxel@redhat.com>2015-06-10 08:00:37 +0200
commit1ceaefbd0d09642fcff05c6b8da49ad8fbc050cb (patch)
treece790fa0f26c96be8173512ea0359ebcd726843d
parentb0411142f482df92717f8b4a3b746081a62b724f (diff)
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>
-rw-r--r--util/qemu-config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/qemu-config.c b/util/qemu-config.c
index 35adfda496..6cfdd7204a 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,