mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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>
This commit is contained in:
parent
7102fa7073
commit
2b0ddf6612
2 changed files with 20 additions and 21 deletions
|
@ -89,6 +89,7 @@ struct PCMachineClass {
|
|||
bool gigabyte_align;
|
||||
bool has_reserved_memory;
|
||||
bool kvmclock_enabled;
|
||||
int legacy_acpi_table_size;
|
||||
};
|
||||
|
||||
#define TYPE_PC_MACHINE "generic-pc-machine"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue