diff options
author | Marcel Apfelbaum | 2015-02-04 16:43:55 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2015-03-11 18:19:22 +0100 |
commit | 75cc7f018328e708d94cca23c3a77e85363f25dc (patch) | |
tree | 7586784f05c5559ba9626bfc618cdc7a3bdbf02b /hw/core/fw-path-provider.c | |
parent | machine: query dump-guest-core machine property (diff) | |
download | qemu-75cc7f018328e708d94cca23c3a77e85363f25dc.tar.gz qemu-75cc7f018328e708d94cca23c3a77e85363f25dc.tar.xz qemu-75cc7f018328e708d94cca23c3a77e85363f25dc.zip |
machine: query mem-merge machine property
Running
qemu-bin ... -machine pc,mem-merge=on
leads to crash:
x86_64-softmmu/qemu-system-x86_64 -machine pc,dump-guest-core=on
qemu-system-x86_64: qemu/util/qemu-option.c:387: qemu_opt_get_bool_helper:
Assertion `opt->desc && opt->desc->type == QEMU_OPT_BOOL' failed. Aborted
(core dumped)
This happens because the commit e79d5a6 ("machine: remove qemu_machine_opts
global list") removed the global option descriptions and moved them to
MachineState's QOM properties.
Fix this by querying machine properties through designated wrappers.
Signed-off-by: Marcel Apfelbaum <marcel@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/core/fw-path-provider.c')
0 files changed, 0 insertions, 0 deletions