spapr: Use default_machine_opts to set suppress_vmdesc
commitf6d0656bc11eef7a7a4ec7e4d41ef5cb09a84ddf
authorEduardo Habkost <ehabkost@redhat.com>
Wed, 5 Dec 2018 20:58:25 +0000 (5 18:58 -0200)
committerEduardo Habkost <ehabkost@redhat.com>
Tue, 11 Dec 2018 17:45:22 +0000 (11 15:45 -0200)
tree2f92073a7b631824a500938bf9dbb3d8169c9453
parenta140c199f41bd90747982f30eb7eceee6f1aa0db
spapr: Use default_machine_opts to set suppress_vmdesc

Instead of setting suppress_vmdesc at instance_init time, set
default_machine_opts on spapr_machine_2_2_class_options() to
implement equivalent behavior.

This will let us eliminate the need for separate instance_init
functions for each spapr machine-type.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20181205205827.19387-4-ehabkost@redhat.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/ppc/spapr.c