diff options
author | Marcel Apfelbaum <marcel@redhat.com> | 2015-03-10 18:59:54 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2015-03-11 18:14:23 +0100 |
commit | 446f16a6906e9d05aa9ce0dde727d4f731a89298 (patch) | |
tree | 872eba40ba77b857f33b1fb339cba11dfd82d87f /target-mips/kvm.c | |
parent | d8870d0217216478888c2d3dd6bf62e155d978c8 (diff) | |
download | qemu-446f16a6906e9d05aa9ce0dde727d4f731a89298.zip qemu-446f16a6906e9d05aa9ce0dde727d4f731a89298.tar.gz qemu-446f16a6906e9d05aa9ce0dde727d4f731a89298.tar.bz2 |
machine: query kernel-irqchip property
Running
x86_64-softmmu/qemu-system-x86_64 -machine pc,kernel_irqchip=on -enable-kvm
leads to crash:
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>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'target-mips/kvm.c')
0 files changed, 0 insertions, 0 deletions