diff options
| author | Eduardo Habkost | 2015-12-01 23:58:04 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2015-12-22 16:45:12 +0100 |
| commit | 2b0ddf6612fe270a6db0394da6cf4d44ff48b3f5 (patch) | |
| tree | 48a1d4185080db58bb9846620d840f108b534873 /include | |
| parent | pc: Move compat boolean globals to PCMachineClass (diff) | |
| download | qemu-2b0ddf6612fe270a6db0394da6cf4d44ff48b3f5.tar.gz qemu-2b0ddf6612fe270a6db0394da6cf4d44ff48b3f5.tar.xz qemu-2b0ddf6612fe270a6db0394da6cf4d44ff48b3f5.zip | |
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>
Diffstat (limited to 'include')
| -rw-r--r-- | include/hw/i386/pc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h index 969852fddb..f858b8b692 100644 --- a/include/hw/i386/pc.h +++ b/include/hw/i386/pc.h @@ -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" |
