pc: Move acpi_data_size global to PCMachineClass
commitcd4040ec1870f8ec49ec995d89d4862e0b6021b3
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 1 Dec 2015 22:58:05 +0000 (1 20:58 -0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 22 Dec 2015 15:45:12 +0000 (22 17:45 +0200)
tree9a6837008c608653d38bf10876ec6897d8f99a66
parent2b0ddf6612fe270a6db0394da6cf4d44ff48b3f5
pc: Move acpi_data_size global to PCMachineClass

This way we don't need code in pc_compat_*() functions to set the legacy
acpi_data_size value.

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.c
hw/i386/pc_piix.c
hw/i386/pc_q35.c
include/hw/i386/pc.h