mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-11 04:26:38 +00:00
At present the Guest use the cpu id (enum number) as the APIC ID in vCPU CPUID and set the different topology with pCPU. To support the feature vCPU has the same topology as pCPU, vCPU need the same APIC ID as pCPU. So let vCPU can use the APIC ID from pCPU in vCPU's CPUID and keep pCPU's topology related information (include CPU count and topology mask) unchanged. Now this change is a preliminary preparation and doesn't work. Additional feature options and corresponding CPU number and CPU affinity settings are still required. BUG=b:197875305 TEST=cargo build TEST=./test_all Change-Id: I04150ac6c35534d0ff56667b01f448da2ca9f9fc Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3217034 Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Chirantan Ekbote <chirantan@chromium.org> Reviewed-by: Chirantan Ekbote <chirantan@chromium.org> Reviewed-by: David Stevens <stevensd@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |