mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
q35: skip q35-acpi-dsdt.aml load if not needed
Only old machine types which don't use the acpi builder (qemu 1.7 + older) have to load that file for proper acpi support. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
ad2a807718
commit
aa8abbed00
1 changed files with 4 additions and 1 deletions
|
@ -117,7 +117,10 @@ static void pc_q35_init(MachineState *machine)
|
|||
}
|
||||
|
||||
pc_cpus_init(pcms);
|
||||
pc_acpi_init("q35-acpi-dsdt.aml");
|
||||
if (!pcmc->has_acpi_build) {
|
||||
/* only machine types 1.7 & older need this */
|
||||
pc_acpi_init("q35-acpi-dsdt.aml");
|
||||
}
|
||||
|
||||
kvmclock_create();
|
||||
|
||||
|
|
Loading…
Reference in a new issue