]> git.proxmox.com Git - mirror_qemu.git/commit
util/qemu-config: fix regression of qmp_query_command_line_options
authorMarcel Apfelbaum <marcel@redhat.com>
Wed, 1 Apr 2015 16:47:21 +0000 (19:47 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 2 Apr 2015 13:57:27 +0000 (15:57 +0200)
commit0a7cf217d81161e36af2344e911d56d4f9fef9c5
treec8401fe48c00a28293bfdc4fd6a503e583bf362a
parent9cb11fd7539b5b787d8fb3834004804a58dd16ae
util/qemu-config: fix regression of qmp_query_command_line_options

Commit 49d2e64 (machine: remove qemu_machine_opts global list)
made machine options specific to machine sub-type, leaving
the qemu_machine_opts desc array empty. Sadly this is the place
qmp_query_command_line_options is looking for supported options.

As a fix for for 2.3 the machine_qemu_opts (the generic ones)
are restored only for qemu-config scope.
We need to find a better fix for 2.4.

Reported-by: Tony Krowiak <akrowiak@linux.vnet.ibm.com>
Signed-off-by: Marcel Apfelbaum <marcel@redhat.com>
Message-Id: <1427906841-1576-1-git-send-email-marcel@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
util/qemu-config.c