pc: Move legacy_acpi_table_size global to PCMachineClass
commit2b0ddf6612fe270a6db0394da6cf4d44ff48b3f5
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 1 Dec 2015 22:58:04 +0000 (1 20:58 -0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 22 Dec 2015 15:45:12 +0000 (22 17:45 +0200)
tree48a1d4185080db58bb9846620d840f108b534873
parent7102fa7073b2cefb33ab4012a11f15fbf297a74b
pc: Move legacy_acpi_table_size global to PCMachineClass

This way we can set legacy_acpi_table_size on the machine_options()
functions, instead of requirng code in pc_compat_*() functions.

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>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
hw/i386/pc_piix.c
include/hw/i386/pc.h