]> git.proxmox.com Git - mirror_qemu.git/commit
compat: replace PC_COMPAT_2_3 & HW_COMPAT_2_3 macros
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 12 Dec 2018 15:36:30 +0000 (19:36 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 7 Jan 2019 12:18:42 +0000 (16:18 +0400)
commit8995dd9009a4f0845393c102098dc94e14806c37
tree0b2e85cd0acce6dabe85b68109f027e47011bd0d
parent2f99b9c273ded76211ddb445b273ce854d469033
compat: replace PC_COMPAT_2_3 & HW_COMPAT_2_3 macros

Use static arrays instead.  I decided to rename the conflicting
pc_compat_2_3() function with pc_compat_2_3_fn().

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/ppc/spapr.c
include/hw/boards.h
include/hw/compat.h
include/hw/i386/pc.h