commit | 77aa069b67b64d0f668deeff37f225efa5992f10 | [log] [tgz] |
---|---|---|
author | ZhaoLiu <zhao1.liu@intel.corp-partner.google.com> | Mon Dec 06 17:05:30 2021 +0800 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Dec 15 23:51:56 2021 +0000 |
tree | 64a7d4f5bc1893eb3e179e03ed6d5fa8fd727693 | |
parent | 79eb86a5b9466cee19bc4e47429385a7244cdc4f [diff] |
x86: Fix HT flag in CPUID when set no_smt At present, if no_smt is set, the cpus of Guest still has the HT flag. To fix this issue, won't set HT flag in Guest's CPUID if no_smt is set. BUG=None TEST=cargo build TEST=set no_smt and check if there's HT flag in /proc/cpuinfo Change-Id: I8a986867f272face39253b523462dc8a26ab479c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3314868 Reviewed-by: David Stevens <stevensd@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Mattias Nissler <mnissler@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
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.