Marcel Apfelbaum 75cc7f0183 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>
2015-03-11 18:19:22 +01:00
..
2015-03-08 11:51:46 +01:00
2013-06-07 14:55:33 +02:00
2013-12-24 18:02:18 +01:00
2014-02-03 14:04:00 +00:00
2015-03-09 09:14:28 +00:00
2014-02-26 17:20:00 +00:00
2015-03-01 12:33:22 +01:00
2013-04-08 18:13:10 +02:00
2013-04-08 18:13:10 +02:00
2015-03-09 15:00:08 +01:00
2015-03-09 15:00:08 +01:00
2015-01-12 10:14:04 +01:00
2013-04-08 18:13:10 +02:00
2015-03-10 08:15:33 +03:00
2013-04-08 18:13:10 +02:00
2015-01-15 10:44:13 +03:00
2014-10-23 16:41:25 +02:00
2014-10-24 12:19:11 +01:00
2013-04-08 18:13:10 +02:00
2014-05-28 17:36:21 +02:00
2013-05-01 20:55:21 +04:00
2014-11-11 14:50:10 +00:00