diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c
index ebd47aa26f..5dc625b8d8 100644
--- a/hw/i386/acpi-build.c
+++ b/hw/i386/acpi-build.c
@@ -192,6 +192,11 @@ static void init_common_fadt_data(MachineState *ms, Object
*o,
.address = object_property_get_uint(o, ACPI_PM_PROP_GPE0_BLK,
NULL)
},
};
+ if (isa_check_device_existence("i8042")) {
+ /* Indicates if i8042 is present or not */
+ fadt.iapc_boot_arch = (1 << 1);
+ }
+
Looking into this, it seems I messed up with the spaces here. So, I
could fix this and send a v3, but want to see if there are other
comments as well so we can get them fixed and this patch merged (or at
least in a pull request) before the soft feature freeze in 8.3.2022 :)