aboutsummaryrefslogtreecommitdiff
path: root/include/hw/riscv/opentitan.h
diff options
context:
space:
mode:
authorAni Sinha <ani@anisinha.ca>2022-03-04 21:10:32 +0530
committerMichael S. Tsirkin <mst@redhat.com>2022-03-07 17:43:14 -0500
commit128e050d41794e61e5849c6c507160da5556ea61 (patch)
treee64d2eb08b9ed89c9abf5a49ff0ecd596fd88ad3 /include/hw/riscv/opentitan.h
parent5f051fdb356736465a9c678a5bc9ac117bb9979a (diff)
downloadqemu-128e050d41794e61e5849c6c507160da5556ea61.zip
qemu-128e050d41794e61e5849c6c507160da5556ea61.tar.gz
qemu-128e050d41794e61e5849c6c507160da5556ea61.tar.bz2
hw/acpi/microvm: turn on 8042 bit in FADT boot architecture flags if present
The second bit of IAPC_BOOT_ARCH in FADT table indicates the presence of keyboard controller implemented as 8042 or equivalent micro controller. This change enables this flag for microvms if such a device exists (for example, when added explicitly from the QEMU commandline). Change 654701e292d98b308b0 ("hw/acpi: add indication for i8042 in IA-PC boot flags of the FADT table") enabled this flag for i386 q35 based machines. The reason for doing the same for micro-vms is to make sure we provide the correct tables to the guest OS uniformly in all cases when an i8042 device is present. When this bit is not enabled, guest OSes has to find other indirect methods to detect the device which we would like to avoid. Signed-off-by: Ani Sinha <ani@anisinha.ca> Message-Id: <20220304154032.2071585-5-ani@anisinha.ca> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/riscv/opentitan.h')
0 files changed, 0 insertions, 0 deletions