crosvm/x86_64/src
Zide Chen 69775f0346 x86_64: add new option enable-hwp to expose HWP feature to guests
Expose HWP (HW P-State) feature to the guest if enable-hwp is present
and implement these dependencies:

- enable-hwp depends on host-cpu-topology option
- itmt depends on enable-hwp option

Group the CPU configuration entries to a new struct CpuConfigArch,
to simplify APIs in the vCPU configuration path.

BUG=b:199380745
TEST=boot Redrix manatee and verified that intel_pstate driver works

Change-Id: Icdd19190f6a7518492ff5fc54708af40288a1422
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3771065
Commit-Queue: Dmitry Torokhov <dtor@chromium.org>
Reviewed-by: Dmitry Torokhov <dtor@chromium.org>
Tested-by: Dmitry Torokhov <dtor@chromium.org>
Reviewed-by: Junichi Uekawa <uekawa@chromium.org>
2022-08-05 20:33:12 +00:00
..
test_integration x86_64: cross platform cleanup 2022-06-22 23:34:17 +00:00
acpi.rs Reformat imports 2022-07-28 00:15:50 +00:00
bootparam.rs bindgen: switch to allowlist/blocklist options 2021-10-26 18:32:51 +00:00
bzimage.rs Reformat imports 2022-07-28 00:15:50 +00:00
cpuid.rs x86_64: add new option enable-hwp to expose HWP feature to guests 2022-08-05 20:33:12 +00:00
fdt.rs Reformat imports 2022-07-28 00:15:50 +00:00
gdt.rs Use hypervisor abstraction to run VMs 2020-08-11 04:51:34 +00:00
interrupts.rs x86_64: convert to ThisError and sort 2021-10-06 21:38:34 +00:00
lib.rs x86_64: add new option enable-hwp to expose HWP feature to guests 2022-08-05 20:33:12 +00:00
mpspec.rs clippy: Fix net_sys / virtio_sys / x86_64 2022-02-07 22:22:43 +00:00
mptable.rs Reformat imports 2022-07-28 00:15:50 +00:00
msr.rs Reformat imports 2022-07-28 00:15:50 +00:00
msr_index.rs x86_64: Add x86_64 setup code 2017-05-12 20:58:07 -07:00
regs.rs Remove redundant {self} imports 2022-08-01 21:27:54 +00:00
smbios.rs Reformat imports 2022-07-28 00:15:50 +00:00
test_integration.rs x86_64: add new option enable-hwp to expose HWP feature to guests 2022-08-05 20:33:12 +00:00