pc: Move compat_props setting inside *_machine_options() functions
commit25519b062c70f2afe2d2f0c262f3838a41e8bc7c
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 15 May 2015 17:18:55 +0000 (15 14:18 -0300)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 31 May 2015 14:26:42 +0000 (31 16:26 +0200)
treea20e885f180b090817ea4d2db7b4620f4e472604
parentfddd179ab962f6f78a8493742e1068d6a620e059
pc: Move compat_props setting inside *_machine_options() functions

This will simplify the DEFINE_PC_MACHINE macro, and will help us to
implement reuse of PC_COMPAT_* macros through class_init function reuse,
in the future.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/pc_piix.c
hw/i386/pc_q35.c
include/hw/i386/pc.h