QemuOpts: increase number of vm_config_groups
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]>
Signed-off-by Gerd Hoffmann <[email protected]>
--- util/qemu-config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
util/qemu-config.c +1 -1
@@ -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