summary refs log tree commit diff
path: root/devices/src/virtio/mod.rs
diff options
context:
space:
mode:
authorChuanxiao Dong <chuanxiao.dong@intel.corp-partner.google.com>2020-03-10 13:33:09 +0800
committerCommit Bot <commit-bot@chromium.org>2020-03-19 12:11:51 +0000
commit9486e57a097aeb98ccb33776aefa523be795b661 (patch)
tree4027dbf78a598fab15a4c9757137d17d648ab76e /devices/src/virtio/mod.rs
parent5b2447ceaf8ec4fa12afa32936af075c61e900df (diff)
downloadcrosvm-9486e57a097aeb98ccb33776aefa523be795b661.tar
crosvm-9486e57a097aeb98ccb33776aefa523be795b661.tar.gz
crosvm-9486e57a097aeb98ccb33776aefa523be795b661.tar.bz2
crosvm-9486e57a097aeb98ccb33776aefa523be795b661.tar.lz
crosvm-9486e57a097aeb98ccb33776aefa523be795b661.tar.xz
crosvm-9486e57a097aeb98ccb33776aefa523be795b661.tar.zst
crosvm-9486e57a097aeb98ccb33776aefa523be795b661.zip
ACPI: enable ACPI from command line
Previously the "acpi=off" in cmdline has disabled the ACPI for the
guest kernel. With removing the "acpi=off", the ACPI will be enabled
for the guest kernel by default. With acpi enabled, the SCI irq will
be needed by the ACPI core driver. Register the SCI irq in MP table
so that it can use IO-APIC routing.

The reason to have "pci=noacpi" is that, in the current DSDT there is
only suspend capability, so PCI scan still need to be done by the
traditional way.

BUG=chromium:1018674
TEST=Linux guest is able to boot up with the virtio devices functional.
Also able to see the S1 capability from kernel dmesg.

Change-Id: Id54e788f4aa4c944fac5e3fa1c92b76865dd5021
Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2078967
Reviewed-by: Tomasz Jeznach <tjeznach@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'devices/src/virtio/mod.rs')
0 files changed, 0 insertions, 0 deletions