]> git.proxmox.com Git - mirror_qemu.git/commit
machine: add properties to compat_props incrementaly
authorIgor Mammedov <imammedo@redhat.com>
Thu, 28 Jan 2016 10:58:08 +0000 (11:58 +0100)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 20 May 2016 17:28:54 +0000 (14:28 -0300)
commitbacc344c548ce165a0001276ece56ee4b0bddae3
treedf773e89863c26316b09afaf5cb214543108194d
parent16714b16806979d7f9f245b2b4c13966e4fa1c2e
machine: add properties to compat_props incrementaly

Switch to adding compat properties incrementaly instead of
completly overwriting compat_props per machine type.
That removes data duplication which we have due to nested
[PC|SPAPR]_COMPAT_* macros.

It also allows to set default device properties from
default foo_machine_options() hook, which will be used
in following patch for putting VMGENID device as
a function if ISA bridge on pc/q35 machines.

Suggested-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
[ehabkost: Fixed CCW_COMPAT_* and PC_COMPAT_0_* defines]
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/arm/virt.c
hw/core/machine.c
hw/i386/pc_piix.c
hw/ppc/spapr.c
hw/s390x/s390-virtio-ccw.c
include/hw/boards.h
include/hw/i386/pc.h
vl.c