Commit aa8abbed authored by Gerd Hoffmann's avatar Gerd Hoffmann Committed by Michael S. Tsirkin
Browse files

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: default avatarGerd Hoffmann <kraxel@redhat.com>
Reviewed-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent ad2a8077
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -117,7 +117,10 @@ static void pc_q35_init(MachineState *machine)
    }

    pc_cpus_init(pcms);
    if (!pcmc->has_acpi_build) {
        /* only machine types 1.7 & older need this */
        pc_acpi_init("q35-acpi-dsdt.aml");
    }

    kvmclock_create();