compat: replace PC_COMPAT_2_5 & HW_COMPAT_2_5 macros
commitfe759610d5aa2d1e5311398ea3a4b45833a2b619
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 12 Dec 2018 15:36:30 +0000 (12 19:36 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 7 Jan 2019 12:18:42 +0000 (7 16:18 +0400)
treecef3d3507fcdcb4290dc5fdbc7ff925da4af05c2
parentff8f261f113b55d3eb83ea9163d70a0f1ea36daa
compat: replace PC_COMPAT_2_5 & HW_COMPAT_2_5 macros

Use static arrays instead.

Suggested-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Acked-by: Eduardo Habkost <ehabkost@redhat.com>
hw/core/machine.c
hw/i386/pc.c
hw/i386/pc_piix.c
hw/i386/pc_q35.c
hw/ppc/spapr.c
hw/s390x/s390-virtio-ccw.c
include/hw/boards.h
include/hw/compat.h
include/hw/i386/pc.h