]> git.proxmox.com Git - mirror_qemu.git/commit - hw/i386/pc_piix.c
pc: Use default_machine_opts to set suppress_vmdesc
authorEduardo Habkost <ehabkost@redhat.com>
Wed, 5 Dec 2018 20:58:27 +0000 (18:58 -0200)
committerEduardo Habkost <ehabkost@redhat.com>
Tue, 11 Dec 2018 17:45:22 +0000 (15:45 -0200)
commit112394af1ac21ee00c1bb9c487aca821434583ac
tree5bd49b9405078793101ad28645ddcbcec54c95e7
parent3420340988b7b78d9891cfa6abd9c3faf0f4737f
pc: Use default_machine_opts to set suppress_vmdesc

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

This will let us eliminate the need for pc_compat_*() functions
for PC machine-types.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20181205205827.19387-6-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/i386/pc_piix.c