diff options
author | Liav Albani <liavalb@gmail.com> | 2022-03-04 21:10:30 +0530 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-03-06 16:06:16 -0500 |
commit | 5334bf5703408b7948d9fd8bb8a599c97cdc84a3 (patch) | |
tree | 658e28b52c5a3f07133dffce8a75468cb6952034 /target | |
parent | 43b6277ac2dc2a61acf303d9d515fafb0b876cc1 (diff) | |
download | qemu-5334bf5703408b7948d9fd8bb8a599c97cdc84a3.zip qemu-5334bf5703408b7948d9fd8bb8a599c97cdc84a3.tar.gz qemu-5334bf5703408b7948d9fd8bb8a599c97cdc84a3.tar.bz2 |
hw/acpi: add indication for i8042 in IA-PC boot flags of the FADT table
This can allow the guest OS to determine more easily if i8042 controller
is present in the system or not, so it doesn't need to do probing of the
controller, but just initialize it immediately, before enumerating the
ACPI AML namespace.
The 8042 bit in IAPC_BOOT_ARCH was introduced from ACPI spec v2 (FADT
revision 2 and above). Therefore, in this change, we only enable this bit for
x86/q35 machine types since x86/i440fx machines use FADT ACPI table with
revision 1.
Signed-off-by: Liav Albani <liavalb@gmail.com>
Signed-off-by: Ani Sinha <ani@anisinha.ca>
Message-Id: <20220304154032.2071585-3-ani@anisinha.ca>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'target')
0 files changed, 0 insertions, 0 deletions