]> git.proxmox.com Git - mirror_qemu.git/commit
compat: remove remaining PC_COMPAT macros
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 12 Dec 2018 17:57:53 +0000 (21:57 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 7 Jan 2019 12:18:42 +0000 (16:18 +0400)
commita310e653ce0e3effc9a27c3b10018d2d29bf566c
treed397f44d26ee236a54e2b3a5a2c6da49d8ad83f8
parenta1c3c562e284bf4deb433e9904660564e0900953
compat: remove remaining PC_COMPAT macros

Use static arrays instead.  I decided to rename the conflicting
pc_compat_2_1() function with pc_compat_2_1_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/i386/pc.c
hw/i386/pc_piix.c
include/hw/i386/pc.h