mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
ba2f66ae97
When --host-cpu-topology flag is specified, crosvm will create 1:1 affinity masks between host CPUs and VM's vCPUs. Extend this mechanims to also pass the cluster IDs and CPU capacity information to the guest. Same as with --cpu-affinity, the client now cannot specify --cpu-capacity and --cpu clusters together with --host-cpu-topology. This only has an effect on DeviceTree-based platforms, same as the two cmdline flags mentioned above. Bug: 266664564 Test: ./tools/presubmit Change-Id: I8f6d5cea7d8861e27f02ec55b50c0d12e1c2866b Signed-off-by: David Dai <davidai@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4208668 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: David Brazdil <dbrazdil@google.com> |
||
---|---|---|
.. | ||
crosvm | ||
sys | ||
crosvm.rs | ||
main.rs | ||
sys.rs |