commit | d33874ea04a143863c67fcfaaadafcfd57bd73ce | [log] [tgz] |
---|---|---|
author | Grzegorz Jaszczyk <jaz@semihalf.com> | Fri Feb 11 18:27:29 2022 +0000 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Feb 21 20:41:08 2022 +0000 |
tree | 28796f4e6bbb4b5cce3dcc07e78ae4f987668fbe | |
parent | ad606ec2caa71e735839dfded6dd28bf6905b931 [diff] |
acpi: x86: add option for setting LP S0 capable flag for guest ACPI tables Fixed ACPI Description Table (FADT) contains Low Power S0 Idle Capable Flag. This commit introduces "--s2idle" argument allowing to set proper bit in the guest FADT table. This is required to inform guest OS to use s2idle instead of traditional S3 power mode. BUG=b:194391015 TEST=Build crosvm and run "crosvm run --s2idle ..", dump FADT table and confirm that proper flag was set. Change-Id: I243bfe2cc4840278fcdbf33dcb147b2eda50856d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3457402 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Grzegorz Jaszczyk <jaszczyk@google.com>
crosvm is a virtual machine monitor (VMM) based on Linux’s KVM hypervisor, with a focus on simplicity, security, and speed. crosvm is intended to run Linux guests, originally as a security boundary for running native applications on the Chrome OS platform. Compared to QEMU, crosvm doesn’t emulate architectures or real hardware, instead concentrating on paravirtualized devices, such as the virtio standard.
crosvm is currently used to run Linux/Android guests on Chrome OS devices.